update: 升级前端核心依赖并完成适配

- 升级 Vue、Vue Router、Element Plus、Vite、UnoCSS、Sass、vue-tsc、oxlint 等前端核心依赖
- 适配依赖升级后的类型检查、键盘事件和 Sass 命名空间写法
- 登录记住功能仅保存用户名和 rememberMe,不再保存密码
- 移除模板中的 scope.row 类型断言,改由处理函数使用 Partial<VO> 承接
This commit is contained in:
疯狂的狮子Li
2026-06-08 18:40:47 +08:00
parent 46fbc9db0b
commit 979bad0275
34 changed files with 1295 additions and 1178 deletions

View File

@@ -276,7 +276,7 @@ const handleAdd = () => {
openDialog('添加参数');
};
/** 修改按钮操作 */
const handleUpdate = async (row?: ConfigVO) => {
const handleUpdate = async (row?: Partial<ConfigVO>) => {
resetForm();
const configId = row?.configId || ids.value[0];
const res = await getConfig(configId);
@@ -295,7 +295,7 @@ const submitForm = () => {
});
};
/** 删除按钮操作 */
const handleDelete = async (row?: ConfigVO) => {
const handleDelete = async (row?: Partial<ConfigVO>) => {
const configIds = row?.configId || ids.value;
await modal.confirm('是否确认删除参数编号为"' + configIds + '"的数据项?');
await delConfig(configIds);