更新校验

This commit is contained in:
linfeng 2023-06-01 15:08:30 +08:00
parent 2c7349514b
commit f451147ece

View File

@ -51,13 +51,7 @@ export default {
dataRule: { dataRule: {
title: [{ required: true, message: "标题不能为空", trigger: "blur" }], title: [{ required: true, message: "标题不能为空", trigger: "blur" }],
url: [{ required: true, message: "路径不能为空", trigger: "blur" }], url: [{ required: true, message: "路径不能为空", trigger: "blur" }],
img: [{ required: true, message: "图片不能为空", trigger: "blur" }], img: [{ required: true, message: "图片不能为空", trigger: "blur" }]
type: [
{ required: true, message: "3圈子页轮播图不能为空", trigger: "blur" },
],
createTime: [
{ required: true, message: "创建时间不能为空", trigger: "blur" },
],
}, },
}; };
}, },