This commit is contained in:
@@ -855,6 +855,8 @@
|
|||||||
alert(res.data.msg || '保存成功');
|
alert(res.data.msg || '保存成功');
|
||||||
// 使用服务器返回的数据更新config
|
// 使用服务器返回的数据更新config
|
||||||
config = res.data.data || data;
|
config = res.data.data || data;
|
||||||
|
// 清除前端缓存,确保下次访问时重新加载最新数据
|
||||||
|
sessionStorage.removeItem('commentData');
|
||||||
// 重新渲染界面
|
// 重新渲染界面
|
||||||
fillForm(config);
|
fillForm(config);
|
||||||
}).catch(err => {
|
}).catch(err => {
|
||||||
|
|||||||
Reference in New Issue
Block a user