mirror of
https://github.com/1Panel-dev/MaxKB.git
synced 2025-12-26 01:33:05 +00:00
chore: defineProps 不需要手动引入
This commit is contained in:
parent
fd0f3e2b5a
commit
51facbc46d
|
|
@ -14,7 +14,7 @@
|
|||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
import { defineProps, onMounted, ref, defineAsyncComponent } from 'vue'
|
||||
import { onMounted, ref, defineAsyncComponent } from 'vue'
|
||||
|
||||
import platformApi from '@/api/platform-source'
|
||||
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@
|
|||
<script lang="ts" setup>
|
||||
import { useRouter } from 'vue-router'
|
||||
import { useScriptTag } from '@vueuse/core'
|
||||
import { defineProps, ref, watch } from 'vue'
|
||||
import { ref, watch } from 'vue'
|
||||
import useStore from '@/stores'
|
||||
import { MsgError } from '@/utils/message'
|
||||
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@
|
|||
|
||||
<script lang="ts" setup>
|
||||
import { useScriptTag } from '@vueuse/core'
|
||||
import { defineProps, onMounted } from 'vue'
|
||||
import { onMounted } from 'vue'
|
||||
|
||||
const { load } = useScriptTag(
|
||||
'https://lf-package-cn.feishucdn.com/obj/feishu-static/lark/passport/qrcode/LarkSSOSDKWebQRCode-1.0.3.js'
|
||||
|
|
|
|||
|
|
@ -19,7 +19,6 @@
|
|||
</template>
|
||||
<script setup lang="ts">
|
||||
import { isAppIcon } from '@/utils/application'
|
||||
import { defineProps } from 'vue'
|
||||
const props = defineProps<{
|
||||
item: {
|
||||
name: string
|
||||
|
|
|
|||
Loading…
Reference in New Issue