调整toml格式的内容显示与编辑

This commit is contained in:
liuwei
2025-04-11 16:39:53 +08:00
parent 02305d2b34
commit 93c2561b51
2 changed files with 2 additions and 9 deletions
@@ -228,13 +228,7 @@
try {
// 验证TOML格式
let configObj;
try {
configObj = toml.parse(this.editedConfig);
} catch (e) {
this.configError = 'TOML格式错误: ' + e.message;
return;
}
// 发送到后端保存
axios.post('/api/plugins/config/update', {
plugin_name: this.selectedPlugin.module_name,