1 Commits

Author SHA1 Message Date
1f5867b568 feat: 🚀 简介 2025-11-25 14:30:19 +08:00
2 changed files with 18 additions and 4 deletions

View File

@@ -27,6 +27,12 @@ export const EDIT_FORM_DATA: FormItem[] = [
type: "input",
label: "Banner名称: "
},
{
prop: "short_title",
placeholder: "请输入",
type: "input",
label: "Banner简称: "
},
{
prop: "title_txt_color",
placeholder: "填写RGB值",
@@ -127,6 +133,12 @@ export const EDIT_FORM_DATA1: FormItem[] = [
type: "input",
label: "Banner名称: "
},
{
prop: "short_title",
placeholder: "请输入",
type: "input",
label: "Banner简称: "
},
{
prop: "title_txt_color",
placeholder: "填写RGB值",

View File

@@ -356,16 +356,18 @@ const handleAdd = () => {
dataStore.visible = true;
selectedNodes.value = "";
dataStore.editRuleForm = cloneDeep(EDIT_RULE_FORM);
(dataStore.editFormData = cloneDeep(EDIT_FORM_DATA)), // 抽屉表单配置项
getBannerClassEditList();
dataStore.editFormData = cloneDeep(EDIT_FORM_DATA); // 抽屉表单配置项
dataStore.rules = cloneDeep(RULES);
getBannerClassEditList();
// getBannerClassList();
getProductCategoryList();
};
// 抽屉关闭前的钩子
const handleBeforeClone = () => {
dataStore.editRuleForm = cloneDeep(EDIT_RULE_FORM);
(dataStore.editFormData = cloneDeep(EDIT_FORM_DATA)), // 抽屉表单配置项
resetFields();
dataStore.editFormData = cloneDeep(EDIT_FORM_DATA); // 抽屉表单配置项
dataStore.rules = cloneDeep(RULES);
resetFields();
dataStore.visible = false;
dataStore.isFirstRequest = true;
};