li.shaoyi 3 yıl önce
ebeveyn
işleme
b48bc70245

+ 1 - 1
src/business/bank/index.ts

@@ -125,7 +125,7 @@ export function useBankAccountSign() {
     }
 
     const bankInfo = computed(() => {
-        return dataList.value[0]
+        return dataList.value[0] ?? {}
     })
 
     return {

+ 1 - 1
src/packages/mobile/views/credit/lottery/index.vue

@@ -47,7 +47,7 @@
 
 <script lang="ts" setup>
 import { shallowRef } from 'vue'
-import { Button, Toast } from 'vant'
+import { Toast } from 'vant'
 import { fullloading } from '@/utils/vant'
 import { useCreditLottery } from '@/business/credit'
 import Reward from './components/reward/index.vue'

+ 1 - 1
src/packages/mobile/views/rules/ccwl/index.vue

@@ -19,6 +19,6 @@
 </template>
 
 <script lang="ts" setup>
-import { Tab, Tabs, Button, Empty } from 'vant'
+import { Tab, Tabs, Empty } from 'vant'
 import AppHtml from '@mobile/components/base/html-panel/index.vue'
 </script>