@@ -118,9 +118,11 @@ export default defineComponent({
const flag = ref(false);
const loadData = () => {
queryTable(queryBankAccountSign).then((res) => {
- flag.value = true;
const set = new Set([2, 3, 4]);
tableList.value = res.filter((e) => set.has(e.signstatus));
+ if (tableList.value.length) {
+ flag.value = true;
+ }
});
};
// 预览附件