mirror of
https://gitee.com/fantastic-admin/basic.git
synced 2024-12-02 12:07:41 +08:00
52 lines
1.5 KiB
JavaScript
52 lines
1.5 KiB
JavaScript
module.exports = {
|
|
globals: {
|
|
// lifecycle
|
|
onActivated: 'readonly',
|
|
onBeforeMount: 'readonly',
|
|
onBeforeUnmount: 'readonly',
|
|
onBeforeUpdate: 'readonly',
|
|
onDeactivated: 'readonly',
|
|
onErrorCaptured: 'readonly',
|
|
onMounted: 'readonly',
|
|
onServerPrefetch: 'readonly',
|
|
onUnmounted: 'readonly',
|
|
onUpdated: 'readonly',
|
|
// reactivity
|
|
computed: 'readonly',
|
|
customRef: 'readonly',
|
|
isReadonly: 'readonly',
|
|
isRef: 'readonly',
|
|
markRaw: 'readonly',
|
|
reactive: 'readonly',
|
|
readonly: 'readonly',
|
|
ref: 'readonly',
|
|
shallowReactive: 'readonly',
|
|
shallowReadonly: 'readonly',
|
|
shallowRef: 'readonly',
|
|
toRaw: 'readonly',
|
|
toRef: 'readonly',
|
|
toRefs: 'readonly',
|
|
triggerRef: 'readonly',
|
|
unref: 'readonly',
|
|
watch: 'readonly',
|
|
watchEffect: 'readonly',
|
|
// component
|
|
defineComponent: 'readonly',
|
|
defineAsyncComponent: 'readonly',
|
|
getCurrentInstance: 'readonly',
|
|
h: 'readonly',
|
|
inject: 'readonly',
|
|
nextTick: 'readonly',
|
|
provide: 'readonly',
|
|
useCssModule: 'readonly',
|
|
// other
|
|
defineProps: 'readonly',
|
|
defineEmits: 'readonly',
|
|
defineExpose: 'readonly',
|
|
withDefaults: 'readonly',
|
|
// vue-router
|
|
useRoute: 'readonly',
|
|
useRouter: 'readonly'
|
|
}
|
|
}
|