mirror of
https://github.com/cool-team-official/cool-admin-vue.git
synced 2025-12-12 05:32:48 +00:00
优化
This commit is contained in:
parent
a5cf5866ba
commit
75131abbfd
@ -1,4 +1,4 @@
|
||||
import { defineComponent, h, inject, mergeProps, nextTick, PropType, reactive, ref } from "vue";
|
||||
import { defineComponent, h, inject, mergeProps, nextTick, type PropType, reactive, ref } from "vue";
|
||||
import { Close } from "@element-plus/icons-vue";
|
||||
import { useBrowser, useConfig, useCore } from "../../hooks";
|
||||
import { renderNode } from "../../utils/vnode";
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
import { Ref, WatchStopHandle, getCurrentInstance, watch } from "vue";
|
||||
import { type Ref, type WatchStopHandle, getCurrentInstance, watch } from "vue";
|
||||
import { useConfig } from "../../../hooks";
|
||||
import { uniqueFns } from "../../../utils";
|
||||
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
import { assign } from "lodash-es";
|
||||
import { TestService } from "../test/service";
|
||||
import { watch, ref, nextTick, getCurrentInstance, Ref, inject, provide } from "vue";
|
||||
import { watch, ref, nextTick, getCurrentInstance, type Ref, inject, provide } from "vue";
|
||||
|
||||
// 获取上级
|
||||
function useParent(name: string, r: Ref) {
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
// @ts-nocheck
|
||||
import { App } from "vue";
|
||||
import { type App } from "vue";
|
||||
|
||||
export default {
|
||||
get vue(): App {
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
import { h, resolveComponent, toRaw, VNode } from "vue";
|
||||
import { h, resolveComponent, toRaw, type VNode } from "vue";
|
||||
import { isObject } from "./index";
|
||||
import { parseExtensionComponent } from "./parse";
|
||||
import global from "./global";
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user