Commit 1608b66d authored by cellee's avatar cellee

Signed-off-by: cellee <893264950@qq.com>

parent 32504f6a
/* /*
* @Author: your name * @Author: your name
* @Date: 2020-11-19 16:54:53 * @Date: 2020-11-19 16:54:53
* @LastEditTime: 2021-02-20 18:27:10 * @LastEditTime: 2021-02-20 18:41:17
* @LastEditors: Please set LastEditors * @LastEditors: Please set LastEditors
* @Description: In User Settings Edit * @Description: In User Settings Edit
* @FilePath: \tostumi\src\pages\AccountManagement\CompanyInformation\CompanyInformation.tsx * @FilePath: \tostumi\src\pages\AccountManagement\CompanyInformation\CompanyInformation.tsx
...@@ -42,12 +42,17 @@ const CompanyInformation = (props: any) => { ...@@ -42,12 +42,17 @@ const CompanyInformation = (props: any) => {
// 编辑切换 // 编辑切换
const goToReturn = () => { const goToReturn = () => {
setModelExcel(!ModelExcel); setModelExcel(!ModelExcel);
if (ModelExcel == false) {
form.setFieldsValue({
companyPhone: Means.companyPhone,
companyEmail: Means.companyEmail,
});
}
}; };
//表单提交 //表单提交
const onFinish = (values: any) => { const onFinish = (values: any) => {
values.id = Means.id; values.id = Means.id;
console.log('Success:', values);
RA(65, values); RA(65, values);
}; };
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment