From bc41d0aeda011df283324ba79e90ed2c57488634 Mon Sep 17 00:00:00 2001 From: admin <417727563@qq.com> Date: Fri, 26 Jul 2024 16:19:00 +0800 Subject: [PATCH] =?UTF-8?q?26-=E7=94=A8=E6=88=B7=E8=AE=BE=E7=BD=AE-?= =?UTF-8?q?=E6=AF=94=E8=B5=9B=E7=8A=B6=E6=80=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/views/system/userZJ/user.data.ts | 16 ++-------------- .../src/views/system/usercompexpert/user.data.ts | 7 +++++-- 2 files changed, 7 insertions(+), 16 deletions(-) diff --git a/jeecgboot-vue3-master/src/views/system/userZJ/user.data.ts b/jeecgboot-vue3-master/src/views/system/userZJ/user.data.ts index 3e19df82..950900b6 100644 --- a/jeecgboot-vue3-master/src/views/system/userZJ/user.data.ts +++ b/jeecgboot-vue3-master/src/views/system/userZJ/user.data.ts @@ -370,20 +370,8 @@ export const formSchema: FormSchema[] = [ label: '比赛状态', field: 'stat', component: 'JSwitch', - componentProps:{ - //开关大小,可选值:default small - size:'default', - //非选中时的内容 - unCheckedChildren:'开启', - //非选中时的值 - unCheckedValue:'Y', - //选中时的内容 - checkedChildren:'关闭', - //选中时的值 - checkedValue:'N', - //是否禁用 - disabled: false - }, + defaultValue: 'Y', + componentProps: {}, }, ]; export const formPasswordSchema: FormSchema[] = [ diff --git a/jeecgboot-vue3-master/src/views/system/usercompexpert/user.data.ts b/jeecgboot-vue3-master/src/views/system/usercompexpert/user.data.ts index 3c7e7124..5b1e0897 100644 --- a/jeecgboot-vue3-master/src/views/system/usercompexpert/user.data.ts +++ b/jeecgboot-vue3-master/src/views/system/usercompexpert/user.data.ts @@ -295,7 +295,10 @@ export const formSchema: FormSchema[] = [ label: '比赛状态', field: 'stat', component: 'JSwitch', - componentProps:{ + defaultValue: 'Y', + componentProps: {}, +/* componentProps:{ + //开关大小,可选值:default small size:'default', //非选中时的内容 @@ -308,7 +311,7 @@ export const formSchema: FormSchema[] = [ checkedValue:'N', //是否禁用 disabled: false - }, + },*/ }, ]; export const formPasswordSchema: FormSchema[] = [