update
1.优化
This commit is contained in:
@@ -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 });
|
||||
|
||||
Reference in New Issue
Block a user