From 31b7cc8b8207917204921e6fe0d54861a0a72b24 Mon Sep 17 00:00:00 2001 From: DongZeLiang <2746733890@qq.com> Date: Tue, 27 Feb 2024 16:28:20 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E6=95=B0=E6=8D=AE=E5=AD=97?= =?UTF-8?q?=E5=85=B8=20logo?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/product/brand/index.vue | 27 ++++++++++++++++++--------- 1 file changed, 18 insertions(+), 9 deletions(-) diff --git a/src/views/product/brand/index.vue b/src/views/product/brand/index.vue index 889724a..8415b92 100644 --- a/src/views/product/brand/index.vue +++ b/src/views/product/brand/index.vue @@ -10,12 +10,14 @@ /> - + + + 搜索 @@ -120,10 +122,16 @@ - + - + + {{dict.label}} + @@ -145,6 +153,7 @@ import { listBrand, getBrand, delBrand, addBrand, updateBrand } from "@/api/prod export default { name: "Brand", + dicts: ['sys_yes_no'], data() { return { // 遮罩层 @@ -185,7 +194,7 @@ export default { { required: true, message: "LOGO不能为空", trigger: "blur" } ], start: [ - { required: true, message: "是否启用不能为空", trigger: "blur" } + { required: true, message: "是否启用不能为空", trigger: "change" } ], createBy: [ { required: true, message: "创建人不能为空", trigger: "blur" }