20261008
This commit is contained in:
@@ -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
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user