chore: defineProps 不需要手动引入

This commit is contained in:
CaptainB 2024-11-13 13:46:51 +08:00 committed by 刘瑞斌
parent fd0f3e2b5a
commit 51facbc46d
4 changed files with 3 additions and 4 deletions

View File

@ -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'

View File

@ -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'

View File

@ -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'

View File

@ -19,7 +19,6 @@
</template>
<script setup lang="ts">
import { isAppIcon } from '@/utils/application'
import { defineProps } from 'vue'
const props = defineProps<{
item: {
name: string