refactor(setting): 更新设置组件以支持基于键值的更新

- 将 updateSetting 替换为 updateSettingByKey 方法调用
- 为所有设置组件初始化 settingKey 和 settingId 字段
- 重构 watch 监听逻辑以支持多类型数据格式处理
- 实现对 content 字段的字符串和对象格式解析
- 添加对数组和对象数据类型的兼容性支持
- 优化表单数据赋值和重置逻辑
- 统一各组件中的数据处理流程
This commit is contained in:
2026-02-27 22:59:51 +08:00
parent 75d31dd09e
commit 6a9be80811
15 changed files with 778 additions and 456 deletions

View File

@@ -3,4 +3,5 @@ VITE_API_URL=http://127.0.0.1:9200/api
#VITE_SERVER_API_URL=http://127.0.0.1:8000/api
#VITE_API_URL=https://cms-api.s209.websoft.top/api
#VITE_API_URL=https://ysb-api.websoft.top/api
VITE_SERVER_API_URL=https://server.websoft.top/api