usePersonalBaseToken
- Category:
Composables
- Relate:
getPersonalBaseToken
- Dependencies:
@lark-base-open/js-sdk
- Last Changed: 2 weeks ago
Notice
This function needs to use in Base, please use this website as a plugin in a Base to see the demo.
Demo
Show demo code
vue
<script setup lang="ts">
import { usePersonalBaseToken } from "@qww0302/use-bitable"
const token = usePersonalBaseToken()
</script>
<template>
<p>Token: {{ token ?? "null" }}</p>
</template>
1
2
3
4
5
6
7
8
9
2
3
4
5
6
7
8
9
Usage
Type Declarations
ts
/**
* Get personalBase token
*
* 获取 personalBase token
*
* @returns
*/
export declare function usePersonalBaseToken(): import("vue").Ref<string | null>
1
2
3
4
5
6
7
8
2
3
4
5
6
7
8