update 更换背景图 看板接口对接

This commit is contained in:
zk
2023-12-05 18:33:24 +08:00
parent df5d0ec8e4
commit 458009709e
11 changed files with 482 additions and 333 deletions
+3 -1
View File
@@ -32,13 +32,15 @@
const selectIndex = ref(0);
const selectVal = ref('1');
const { setSpin, spinning } = useSpin();
onMounted(() => {
getList();
});
async function getList() {
setSpin(true);
try {
const { code, result } = (await list({ condition: selectVal.value })) || [];
const { code, result } = (await list({ condition: selectVal.value })) || {};
setSpin(!spinning.value);
if (code != 200) {
return;