Skip to content

Commit

Permalink
chore: defineProps 不需要手动引入
Browse files Browse the repository at this point in the history
  • Loading branch information
liuruibin committed Nov 13, 2024
1 parent fd0f3e2 commit 9554e98
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion ui/src/views/login/components/QrCodeTab.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
2 changes: 1 addition & 1 deletion ui/src/views/login/components/dingtalkQrCode.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
2 changes: 1 addition & 1 deletion ui/src/views/login/components/larkQrCode.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
1 change: 0 additions & 1 deletion ui/src/workflow/icons/application-node-icon.vue
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
</template>
<script setup lang="ts">
import { isAppIcon } from '@/utils/application'
import { defineProps } from 'vue'
const props = defineProps<{
item: {
name: string
Expand Down

0 comments on commit 9554e98

Please sign in to comment.