fix: 优化英文状态下,备份恢复按钮换行的问题 (#1860)

This commit is contained in:
ssongliu
2023-08-07 11:52:11 +08:00
committed by GitHub
parent c9ea6f6c8d
commit c326606401
6 changed files with 17 additions and 9 deletions

View File

@@ -106,11 +106,17 @@ const goRouter = async (key: string) => {
};
const onCheck = async () => {
const res = await CheckAppInstalled(key.value);
data.value = res.data;
em('isExist', res.data);
operateReq.installId = res.data.appInstallId;
refresh.value++;
await CheckAppInstalled(key.value)
.then((res) => {
data.value = res.data;
em('isExist', res.data);
operateReq.installId = res.data.appInstallId;
refresh.value++;
})
.catch(() => {
em('isExist', false);
refresh.value++;
});
};
const onOperate = async (operation: string) => {