feat: 🚀 去掉空格

This commit is contained in:
2025-04-09 17:42:06 +08:00
parent 2698e2c2cf
commit 473aa04ea4
11 changed files with 44 additions and 28 deletions

View File

@@ -61,7 +61,7 @@
ref="formRef"
@handleSelectChangeEmits="handleSelectChangeEmits"
>
<el-input v-model.trim="dataStore.editRuleForm.link" clearable style="width: 440px">
<el-input v-model="dataStore.editRuleForm.link" clearable style="width: 440px">
<template #append>
<el-tree-select
lazy
@@ -300,6 +300,10 @@ const getItemsSave = async () => {
}
};
const handleSelectChangeEmits = (params: any) => {
console.log("123232", params);
if (params.prop === "nav_id") {
return;
}
dataStore.editRuleForm.pid = params?.id;
};
//更新
@@ -336,7 +340,6 @@ const handleResetClick = () => {
if (dataStore.title === "编辑导航") {
getItemsRead(dataStore.editRuleForm.id);
} else {
console.log("走到了这里");
resetFields();
}
};
@@ -362,6 +365,7 @@ const reset = () => {
dataStore.searchParam.name = "";
dataStore.searchParam.nav_id = "";
dataStore.searchParam.Time = "";
dataStore.searchParam.pid = "";
getItemsList();
};
</script>