fix: 接口变更

This commit is contained in:
TsMask
2024-04-25 17:18:46 +08:00
parent 8e2e9aec67
commit 4629ef28ff
2 changed files with 7 additions and 4 deletions

View File

@@ -64,7 +64,6 @@ function fnModalOk() {
if (state.confirmLoading) return;
state.confirmLoading = true;
savePara5GFile({
fileType: 'yaml',
content: toRaw(state.from),
syncNe: state.sync ? state.syncNe : [],
})
@@ -96,7 +95,7 @@ function fnSaveData() {
function fnGetData() {
if (state.confirmLoading) return;
state.confirmLoading = true;
getPara5GFilee('yaml')
getPara5GFilee()
.then(res => {
if (typeof res.data === 'object') {
Object.assign(state.from, res.data);