xy 10 months ago
parent e01b6c58f9
commit 172ef1079d

@ -580,10 +580,7 @@ export default {
this.select.page = 1 this.select.page = 1
} }
const res = await flowList(this.$route.params.type, this.select, false); const res = await flowList(this.$route.params.type, this.select, false);
console.log(res); res.data?.data?.forEach(i => this.contentFormatter(i))
if (this.$route.params.type === 'todo') {
res.data?.data?.forEach(i => this.contentFormatter(i))
}
this.list = res?.data?.data || []; this.list = res?.data?.data || [];
this.total = res?.data?.total ?? 0; this.total = res?.data?.total ?? 0;
this.models = res.customModels; this.models = res.customModels;

Loading…
Cancel
Save