This commit is contained in:
2026-10-08 18:19:39 +08:00
parent 25b8d0104f
commit 75527ae81d
425 changed files with 53925 additions and 2645 deletions
+12 -10
View File
@@ -130,13 +130,13 @@
},
// 查询表单的字段规则 fieldName:指定数据库字段名,不填默认等于key
columns: [
// {
// key: "name",
// title: "名称",
// type: "text",
// width: 160,
// mode: "%%"
// },
{
key: "name",
title: "名称",
type: "text",
width: 160,
mode: "%%"
},
// {
// key: "remark",
// title: "备注",
@@ -172,8 +172,9 @@
{
key: "icon",
title: "图标",
type: "icon",
placeholder: "请选择图标"
type: "image",
placeholder: "请上传图标",
limit: 1
},
{
key: "parent_id",
@@ -205,6 +206,7 @@
type: "number",
precision: 0,
placeholder: "请输入排序值",
tips: '数字越小越靠前'
},
],
// 表单验证规则
@@ -299,7 +301,7 @@
deleteFn
}) {
deleteFn({
action: "admin/product/category/sys/delete",
action: "admin/spot/category/sys/delete",
data: {
_id: item._id
},