Commit 7fb09f5519f4287f803b1616034c455583791570

Authored by loveumiko
1 parent 9ed244e0

fix: 修复启用模版再选择模版,对应的产品会回显,但是再点开关,选择模版,产品未回显

@@ -197,14 +197,6 @@ export const formSchema: FormSchema[] = [ @@ -197,14 +197,6 @@ export const formSchema: FormSchema[] = [
197 colProps: { span: 24 }, 197 colProps: { span: 24 },
198 ifShow: ({ values }) => values['enableTemplate'] === 1 && values['templateId'], 198 ifShow: ({ values }) => values['enableTemplate'] === 1 && values['templateId'],
199 }, 199 },
200 - // {  
201 - // field: 'deviceIds', //暂且使用插槽形式  
202 - // label: '设备',  
203 - // component: 'Input',  
204 - // slot: 'deviceIds',  
205 - // colProps: { span: 24 },  
206 - // ifShow: ({ values }) => values['enableTemplate'] === 1 && values['templateId'],  
207 - // },  
208 { 200 {
209 field: 'productId', 201 field: 'productId',
210 label: '产品', 202 label: '产品',