@@ -125,7 +125,7 @@ export function useBankAccountSign() {
}
const bankInfo = computed(() => {
- return dataList.value[0]
+ return dataList.value[0] ?? {}
})
return {
@@ -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'
@@ -19,6 +19,6 @@
</template>
-import { Tab, Tabs, Button, Empty } from 'vant'
+import { Tab, Tabs, Empty } from 'vant'
import AppHtml from '@mobile/components/base/html-panel/index.vue'
</script>