fix: 接口变更
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user