1.优化
This commit is contained in:
2025-07-08 17:50:37 +08:00
parent 7565056a7e
commit f6e5bb78da
8 changed files with 39 additions and 28 deletions
+11 -7
View File
@@ -147,13 +147,17 @@
});
function getList() {
twoRApi({}).then((res) => {
if (res.code == 200) {
localStorage.removeItem('twoRList');
twoRList.value = res.result;
localStorage.setItem('twoRList', JSON.stringify(res.result));
}
});
twoRApi({})
.then((res: any) => {
if (res.code == 200) {
localStorage.removeItem('twoRList');
twoRList.value = res.result;
localStorage.setItem('twoRList', JSON.stringify(res.result));
}
})
.catch((err) => {
console.log(err);
});
}
function handleClickNum1(type, date, normal) {
emit('handleClick', { type, date, normal });