update: 升级前端核心依赖并完成适配
- 升级 Vue、Vue Router、Element Plus、Vite、UnoCSS、Sass、vue-tsc、oxlint 等前端核心依赖 - 适配依赖升级后的类型检查、键盘事件和 Sass 命名空间写法 - 登录记住功能仅保存用户名和 rememberMe,不再保存密码 - 移除模板中的 scope.row 类型断言,改由处理函数使用 Partial<VO> 承接
This commit is contained in:
@@ -298,7 +298,7 @@ const handleAdd = () => {
|
||||
};
|
||||
|
||||
/** 修改按钮操作 */
|
||||
const handleUpdate = async (row?: SpelVO) => {
|
||||
const handleUpdate = async (row?: Partial<SpelVO>) => {
|
||||
resetForm();
|
||||
const spelId = row?.id || ids.value[0];
|
||||
const res = await getSpel(spelId);
|
||||
@@ -325,7 +325,7 @@ const submitForm = () => {
|
||||
};
|
||||
|
||||
/** 删除按钮操作 */
|
||||
const handleDelete = async (row?: SpelVO) => {
|
||||
const handleDelete = async (row?: Partial<SpelVO>) => {
|
||||
const spelIds = row?.id || ids.value;
|
||||
await modal.confirm('是否确认删除流程spel表达式定义编号为"' + spelIds + '"的数据项?');
|
||||
await delSpel(spelIds);
|
||||
|
||||
Reference in New Issue
Block a user