正在显示
1 个修改的文件
包含
19 行增加
和
19 行删除
| @@ -18,18 +18,18 @@ export const columns: BasicColumn[] = [ | @@ -18,18 +18,18 @@ export const columns: BasicColumn[] = [ | ||
| 18 | align: 'center', | 18 | align: 'center', |
| 19 | dataIndex: 'buttonName', | 19 | dataIndex: 'buttonName', |
| 20 | }, | 20 | }, |
| 21 | - { | ||
| 22 | - title: '按钮开关', | ||
| 23 | - align: 'center', | ||
| 24 | - dataIndex: 'buttonSwitch', | ||
| 25 | - customRender: ({ text, record }) => { | ||
| 26 | - return h(Switch, { | ||
| 27 | - checked: text === 'Y', | ||
| 28 | - loading: switchLoading[record.id], | ||
| 29 | - onChange: (checked: boolean) => handleSwitchChange(checked, record), | ||
| 30 | - }); | ||
| 31 | - }, | ||
| 32 | - }, | 21 | + // { |
| 22 | + // title: '按钮开关', | ||
| 23 | + // align: 'center', | ||
| 24 | + // dataIndex: 'buttonSwitch', | ||
| 25 | + // customRender: ({ text, record }) => { | ||
| 26 | + // return h(Switch, { | ||
| 27 | + // checked: text === 'Y', | ||
| 28 | + // loading: switchLoading[record.id], | ||
| 29 | + // onChange: (checked: boolean) => handleSwitchChange(checked, record), | ||
| 30 | + // }); | ||
| 31 | + // }, | ||
| 32 | + // }, | ||
| 33 | { | 33 | { |
| 34 | title: '发送内容', | 34 | title: '发送内容', |
| 35 | align: 'center', | 35 | align: 'center', |
| @@ -90,13 +90,13 @@ export const formSchema: FormSchema[] = [ | @@ -90,13 +90,13 @@ export const formSchema: FormSchema[] = [ | ||
| 90 | component: 'Input', | 90 | component: 'Input', |
| 91 | required: true, | 91 | required: true, |
| 92 | }, | 92 | }, |
| 93 | - { | ||
| 94 | - label: '按钮开关', | ||
| 95 | - field: 'buttonSwitch', | ||
| 96 | - component: 'JSwitch', | ||
| 97 | - required: true, | ||
| 98 | - componentProps: {}, | ||
| 99 | - }, | 93 | + // { |
| 94 | + // label: '按钮开关', | ||
| 95 | + // field: 'buttonSwitch', | ||
| 96 | + // component: 'JSwitch', | ||
| 97 | + // required: true, | ||
| 98 | + // componentProps: {}, | ||
| 99 | + // }, | ||
| 100 | { | 100 | { |
| 101 | label: '按钮code', | 101 | label: '按钮code', |
| 102 | field: 'code', | 102 | field: 'code', |
-
请 注册 或 登录 后发表评论