feat: 合并Gin_Vue

This commit is contained in:
TsMask
2023-10-16 17:12:24 +08:00
parent 771320a839
commit 743568861d
77 changed files with 734 additions and 1870 deletions

View File

@@ -287,7 +287,7 @@ let backState: ModalStateType = reactive({
backFileTree: [],
},
fromLoading: true,
confirmLoading: false,
confirmLoading: true,
});
/**日志备份对象保存 */
@@ -325,20 +325,16 @@ function fnFormBackFinish() {
/**日志手动备份文件列表 */
function fnBackFileList() {
backupFileList()
.then(res => {
if (res.code === RESULT_CODE_SUCCESS) {
if (res.data.name === '') {
backState.from.backFileTree = [];
} else {
backState.from.backFileTree = [res.data];
}
backState.fromLoading = false;
backupFileList().then(res => {
if (res.code === RESULT_CODE_SUCCESS) {
if (res.data.name === '') {
backState.from.backFileTree = [];
} else {
backState.from.backFileTree = [res.data];
}
})
.finally(() => {
backState.confirmLoading = false;
});
backState.fromLoading = false;
}
});
}
/**日志备份文件下载 */