|
|
|
@ -1,185 +1,94 @@
|
|
|
|
|
{
|
|
|
|
|
"globals": {
|
|
|
|
|
// 定义了一系列全局变量或函数,设置为true表示它们是可写的(可以被重新赋值),如果需要设置为只读,则应将值设为false。
|
|
|
|
|
|
|
|
|
|
"$t": true, // 国际化文本翻译函数
|
|
|
|
|
|
|
|
|
|
"Component": true, // Vue组件构造器类型
|
|
|
|
|
|
|
|
|
|
"ComponentPublicInstance": true, // 组件实例类型,用于类型检查和推断
|
|
|
|
|
|
|
|
|
|
"ComputedRef": true, // 计算属性类型的引用
|
|
|
|
|
|
|
|
|
|
"Debounce": true, // 防抖功能函数,防止某个函数在短时间内被多次调用
|
|
|
|
|
|
|
|
|
|
"EffectScope": true, // 效果作用域,用于管理依赖追踪和副作用
|
|
|
|
|
|
|
|
|
|
"InjectionKey": true, // 提供注入时使用的唯一键
|
|
|
|
|
|
|
|
|
|
"PropType": true, // 定义props验证类型的工具
|
|
|
|
|
|
|
|
|
|
"Ref": true, // 响应式的引用对象,通常用于包装原始数据类型
|
|
|
|
|
|
|
|
|
|
"VNode": true, // 虚拟节点类型,代表DOM树中的一个节点
|
|
|
|
|
|
|
|
|
|
"clearLoginInfo": true, // 清除登录信息的函数
|
|
|
|
|
|
|
|
|
|
"computed": true, // 创建计算属性的函数
|
|
|
|
|
|
|
|
|
|
"configDefInfo": true, // 配置默认信息的对象或函数
|
|
|
|
|
|
|
|
|
|
"createApp": true, // 创建Vue应用实例的函数
|
|
|
|
|
|
|
|
|
|
"customRef": true, // 创建自定义ref的函数
|
|
|
|
|
|
|
|
|
|
"defineAsyncComponent": true, // 定义异步组件的函数
|
|
|
|
|
|
|
|
|
|
"defineComponent": true, // 定义组件的辅助函数
|
|
|
|
|
|
|
|
|
|
"effectScope": true, // 创建效果作用域的函数
|
|
|
|
|
|
|
|
|
|
"encrypt": true, // 加密函数
|
|
|
|
|
|
|
|
|
|
"flatten": true, // 展平数组的函数
|
|
|
|
|
|
|
|
|
|
"checkFileUrl": true, // 检查文件URL有效性的函数
|
|
|
|
|
|
|
|
|
|
"formatConfigInfo": true, // 格式化配置信息的函数
|
|
|
|
|
|
|
|
|
|
"getCurrentInstance": true, // 获取当前组件实例的函数
|
|
|
|
|
|
|
|
|
|
"getCurrentScope": true, // 获取当前作用域的函数
|
|
|
|
|
|
|
|
|
|
"getLevels": true, // 获取层级信息的函数
|
|
|
|
|
|
|
|
|
|
"getUUID": true, // 生成UUID的函数
|
|
|
|
|
|
|
|
|
|
"h": true, // 创建虚拟DOM节点的函数
|
|
|
|
|
|
|
|
|
|
"http": true, // HTTP请求库或函数
|
|
|
|
|
|
|
|
|
|
"idList": true, // ID列表,可能是静态数据或函数
|
|
|
|
|
|
|
|
|
|
"inject": true, // 注入依赖的函数
|
|
|
|
|
|
|
|
|
|
"isAuth": true, // 检查权限的函数
|
|
|
|
|
|
|
|
|
|
"isEmail": true, // 验证电子邮件格式的函数
|
|
|
|
|
|
|
|
|
|
"isHtmlNull": true, // 检查HTML是否为空的函数
|
|
|
|
|
|
|
|
|
|
"isMobile": true, // 检测设备是否为移动设备的函数
|
|
|
|
|
|
|
|
|
|
"isPhone": true, // 验证电话号码格式的函数
|
|
|
|
|
|
|
|
|
|
"isProxy": true, // 检查对象是否为代理对象的函数
|
|
|
|
|
|
|
|
|
|
"isQq": true, // 检查QQ号格式的函数
|
|
|
|
|
|
|
|
|
|
"isReactive": true, // 检查对象是否为响应式对象的函数
|
|
|
|
|
|
|
|
|
|
"isReadonly": true, // 检查对象是否为只读的函数
|
|
|
|
|
|
|
|
|
|
"isRef": true, // 检查对象是否为ref的函数
|
|
|
|
|
|
|
|
|
|
"isURL": true, // 验证URL格式的函数
|
|
|
|
|
|
|
|
|
|
"markRaw": true, // 标记对象为非响应式的函数
|
|
|
|
|
|
|
|
|
|
"nextTick": true, // 在下次DOM更新循环结束之后执行延迟回调的函数
|
|
|
|
|
|
|
|
|
|
"onActivated": true, // 组件激活时触发的生命周期钩子
|
|
|
|
|
|
|
|
|
|
"onBeforeMount": true, // 组件挂载之前触发的生命周期钩子
|
|
|
|
|
|
|
|
|
|
"onBeforeRouteLeave": true, // 导航离开路由前触发的钩子
|
|
|
|
|
|
|
|
|
|
"onBeforeRouteUpdate": true, // 当前路由改变,但是该组件被复用时触发的钩子
|
|
|
|
|
|
|
|
|
|
"onBeforeUnmount": true, // 组件卸载前触发的生命周期钩子
|
|
|
|
|
|
|
|
|
|
"onBeforeUpdate": true, // 组件更新前触发的生命周期钩子
|
|
|
|
|
|
|
|
|
|
"onDeactivated": true, // 组件失活时触发的生命周期钩子
|
|
|
|
|
|
|
|
|
|
"onErrorCaptured": true, // 捕获错误的钩子
|
|
|
|
|
|
|
|
|
|
"onMounted": true, // 组件挂载后触发的生命周期钩子
|
|
|
|
|
|
|
|
|
|
"onRenderTracked": true, // 当依赖追踪触发时触发的钩子
|
|
|
|
|
|
|
|
|
|
"onRenderTriggered": true, // 当渲染触发时触发的钩子
|
|
|
|
|
|
|
|
|
|
"onScopeDispose": true, // 当作用域销毁时触发的钩子
|
|
|
|
|
|
|
|
|
|
"onServerPrefetch": true, // 服务端预获取数据的钩子
|
|
|
|
|
|
|
|
|
|
"onUnmounted": true, // 组件卸载后触发的生命周期钩子
|
|
|
|
|
|
|
|
|
|
"onUpdated": true, // 组件更新后触发的生命周期钩子
|
|
|
|
|
|
|
|
|
|
"provide": true, // 提供依赖的函数
|
|
|
|
|
|
|
|
|
|
"reactive": true, // 创建响应式对象的函数
|
|
|
|
|
|
|
|
|
|
"readonly": true, // 将对象转换为只读的函数
|
|
|
|
|
|
|
|
|
|
"ref": true, // 创建一个响应式的引用对象的函数
|
|
|
|
|
|
|
|
|
|
"resolveComponent": true, // 解析组件的函数
|
|
|
|
|
|
|
|
|
|
"shallowReactive": true, // 创建浅层次的响应式对象的函数
|
|
|
|
|
|
|
|
|
|
"shallowReadonly": true, // 创建浅层次的只读对象的函数
|
|
|
|
|
|
|
|
|
|
"shallowRef": true, // 创建浅层次的响应式引用对象的函数
|
|
|
|
|
|
|
|
|
|
"toRaw": true, // 返回响应式对象的原始版本的函数
|
|
|
|
|
|
|
|
|
|
"toRef": true, // 将响应式对象的属性转换为ref的函数
|
|
|
|
|
|
|
|
|
|
"toRefs": true, // 将响应式对象的所有属性转换为ref的函数
|
|
|
|
|
|
|
|
|
|
"treeDataTranslate": true, // 翻译树形结构数据的函数
|
|
|
|
|
|
|
|
|
|
"triggerRef": true, // 触发ref的依赖追踪的函数
|
|
|
|
|
|
|
|
|
|
"unref": true, // 解包ref的函数
|
|
|
|
|
|
|
|
|
|
"uploadFile": true, // 文件上传的函数
|
|
|
|
|
|
|
|
|
|
"useAttrs": true, // 使用属性的组合式API
|
|
|
|
|
|
|
|
|
|
"useCommonStore": true, // 使用通用状态存储的组合式API
|
|
|
|
|
|
|
|
|
|
"scoreProdStore": true, // 使用产品评分状态存储的组合式API
|
|
|
|
|
|
|
|
|
|
"useCssModule": true, // 使用CSS模块的组合式API
|
|
|
|
|
|
|
|
|
|
"useCssVars": true, // 使用CSS变量的组合式API
|
|
|
|
|
|
|
|
|
|
"useLink": true, // 使用链接的组合式API
|
|
|
|
|
|
|
|
|
|
"useRoute": true, // 使用路由信息的组合式API
|
|
|
|
|
|
|
|
|
|
"useRouter": true, // 使用路由导航的组合式API
|
|
|
|
|
|
|
|
|
|
"useSlots": true, // 使用插槽的组合式API
|
|
|
|
|
|
|
|
|
|
"useUserStore": true, // 使用用户状态存储的组合式API
|
|
|
|
|
|
|
|
|
|
"useWebConfigStore": true, // 使用网站配置状态存储的组合式API
|
|
|
|
|
|
|
|
|
|
"validHtmlLength": true, // 验证HTML长度的函数
|
|
|
|
|
|
|
|
|
|
"validNoEmptySpace": true, // 验证字符串中不包含空格的函数
|
|
|
|
|
|
|
|
|
|
"watch": true, // 监听响应式数据变化的函数
|
|
|
|
|
|
|
|
|
|
"watchEffect": true, // 立即运行并监听其依赖的变化的函数
|
|
|
|
|
|
|
|
|
|
"watchPostEffect": true, // 在依赖项变化后立即运行的函数
|
|
|
|
|
|
|
|
|
|
"watchSyncEffect": true // 同步地运行并在依赖项变化时同步更新的函数
|
|
|
|
|
"$t": true,
|
|
|
|
|
"Component": true,
|
|
|
|
|
"ComponentPublicInstance": true,
|
|
|
|
|
"ComputedRef": true,
|
|
|
|
|
"Debounce": true,
|
|
|
|
|
"EffectScope": true,
|
|
|
|
|
"InjectionKey": true,
|
|
|
|
|
"PropType": true,
|
|
|
|
|
"Ref": true,
|
|
|
|
|
"VNode": true,
|
|
|
|
|
"clearLoginInfo": true,
|
|
|
|
|
"computed": true,
|
|
|
|
|
"configDefInfo": true,
|
|
|
|
|
"createApp": true,
|
|
|
|
|
"customRef": true,
|
|
|
|
|
"defineAsyncComponent": true,
|
|
|
|
|
"defineComponent": true,
|
|
|
|
|
"effectScope": true,
|
|
|
|
|
"encrypt": true,
|
|
|
|
|
"flatten": true,
|
|
|
|
|
"checkFileUrl": true,
|
|
|
|
|
"formatConfigInfo": true,
|
|
|
|
|
"getCurrentInstance": true,
|
|
|
|
|
"getCurrentScope": true,
|
|
|
|
|
"getLevels": true,
|
|
|
|
|
"getUUID": true,
|
|
|
|
|
"h": true,
|
|
|
|
|
"http": true,
|
|
|
|
|
"idList": true,
|
|
|
|
|
"inject": true,
|
|
|
|
|
"isAuth": true,
|
|
|
|
|
"isEmail": true,
|
|
|
|
|
"isHtmlNull": true,
|
|
|
|
|
"isMobile": true,
|
|
|
|
|
"isPhone": true,
|
|
|
|
|
"isProxy": true,
|
|
|
|
|
"isQq": true,
|
|
|
|
|
"isReactive": true,
|
|
|
|
|
"isReadonly": true,
|
|
|
|
|
"isRef": true,
|
|
|
|
|
"isURL": true,
|
|
|
|
|
"markRaw": true,
|
|
|
|
|
"nextTick": true,
|
|
|
|
|
"onActivated": true,
|
|
|
|
|
"onBeforeMount": true,
|
|
|
|
|
"onBeforeRouteLeave": true,
|
|
|
|
|
"onBeforeRouteUpdate": true,
|
|
|
|
|
"onBeforeUnmount": true,
|
|
|
|
|
"onBeforeUpdate": true,
|
|
|
|
|
"onDeactivated": true,
|
|
|
|
|
"onErrorCaptured": true,
|
|
|
|
|
"onMounted": true,
|
|
|
|
|
"onRenderTracked": true,
|
|
|
|
|
"onRenderTriggered": true,
|
|
|
|
|
"onScopeDispose": true,
|
|
|
|
|
"onServerPrefetch": true,
|
|
|
|
|
"onUnmounted": true,
|
|
|
|
|
"onUpdated": true,
|
|
|
|
|
"provide": true,
|
|
|
|
|
"reactive": true,
|
|
|
|
|
"readonly": true,
|
|
|
|
|
"ref": true,
|
|
|
|
|
"resolveComponent": true,
|
|
|
|
|
"shallowReactive": true,
|
|
|
|
|
"shallowReadonly": true,
|
|
|
|
|
"shallowRef": true,
|
|
|
|
|
"toRaw": true,
|
|
|
|
|
"toRef": true,
|
|
|
|
|
"toRefs": true,
|
|
|
|
|
"treeDataTranslate": true,
|
|
|
|
|
"triggerRef": true,
|
|
|
|
|
"unref": true,
|
|
|
|
|
"uploadFile": true,
|
|
|
|
|
"useAttrs": true,
|
|
|
|
|
"useCommonStore": true,
|
|
|
|
|
"scoreProdStore":true,
|
|
|
|
|
"useCssModule": true,
|
|
|
|
|
"useCssVars": true,
|
|
|
|
|
"useLink": true,
|
|
|
|
|
"useRoute": true,
|
|
|
|
|
"useRouter": true,
|
|
|
|
|
"useSlots": true,
|
|
|
|
|
"useUserStore": true,
|
|
|
|
|
"useWebConfigStore": true,
|
|
|
|
|
"validHtmlLength": true,
|
|
|
|
|
"validNoEmptySpace": true,
|
|
|
|
|
"watch": true,
|
|
|
|
|
"watchEffect": true,
|
|
|
|
|
"watchPostEffect": true,
|
|
|
|
|
"watchSyncEffect": true
|
|
|
|
|
}
|
|
|
|
|
}
|