feat: 商品同步规则优化

This commit is contained in:
GaoHao
2025-04-11 17:57:35 +08:00
parent 688f30635b
commit cc13161f16
9 changed files with 76 additions and 11 deletions

View File

@@ -38,7 +38,13 @@ const contentConfig: IContentConfig<UserPageQuery> = {
},
pk: "id",
toolbar: [
"add",
{
icon: "plus",
text: "新增",
type: "primary",
name: "add",
auth: "import",
},
],
cols: [
// { type: "selection", width: 50, align: "center" },
@@ -50,7 +56,7 @@ const contentConfig: IContentConfig<UserPageQuery> = {
fixed: "right",
width: 280,
templet: "tool",
operat: ["edit", "delete"],
operat: [{ text: "编辑", icon: 'edit', name: "edit"}, { text: "删除", icon: 'delete', type: 'danger', name: "delete"}],
},
],
};