|
@@ -191,7 +191,7 @@ const SettingsStrategy: React.FC<Props> = ({ visible, onClose, value, onChange,
|
|
|
}}
|
|
|
onFinish={handleOk}
|
|
|
initialValues={{
|
|
|
- strategyList: [{ id: Date.now(), sendData: [{ externalUserType: 'all', id: Date.now() }] }]
|
|
|
+ strategyList: [{ id: Date.now(), sendData: [{ externalUserType: 'specify', id: Date.now() }] }]
|
|
|
}}
|
|
|
onFieldsChange={() => {
|
|
|
filedUpdateChange(form.getFieldsValue())
|
|
@@ -297,7 +297,7 @@ const SettingsStrategy: React.FC<Props> = ({ visible, onClose, value, onChange,
|
|
|
</Card>
|
|
|
})}
|
|
|
<Form.Item>
|
|
|
- <Button type="dashed" onClick={() => add({ externalUserType: 'all', id: Date.now() })} block icon={<PlusOutlined />}>
|
|
|
+ <Button type="dashed" onClick={() => add({ externalUserType: 'specify', id: Date.now() })} block icon={<PlusOutlined />}>
|
|
|
新增发送群对象
|
|
|
</Button>
|
|
|
</Form.Item>
|
|
@@ -307,7 +307,7 @@ const SettingsStrategy: React.FC<Props> = ({ visible, onClose, value, onChange,
|
|
|
</Card>
|
|
|
})}
|
|
|
<Form.Item>
|
|
|
- <Button type="primary" onClick={() => add({ id: Date.now(), sendData: [{ externalUserType: 'all', id: Date.now() }] })} block icon={<PlusOutlined />}>
|
|
|
+ <Button type="primary" onClick={() => add({ id: Date.now(), sendData: [{ externalUserType: 'specify', id: Date.now() }] })} block icon={<PlusOutlined />}>
|
|
|
新增策略
|
|
|
</Button>
|
|
|
</Form.Item>
|