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