Commit 7cf68e39 authored by yzl's avatar yzl

修改添加界面bug

parent ab304d73
...@@ -286,7 +286,7 @@ ...@@ -286,7 +286,7 @@
if (data.say.statusCode === '0000') { if (data.say.statusCode === '0000') {
message.success('保存成功'); message.success('保存成功');
window.location.href = './index.html'; window.location.href = './';
} else { } else {
message.error('保存失败'); message.error('保存失败');
} }
...@@ -362,7 +362,7 @@ ...@@ -362,7 +362,7 @@
<Row> <Row>
<Form.Item> <Form.Item>
<Button htmlType="reset" style={{margin: '0 20px'}} onClick={() => { <Button htmlType="reset" style={{margin: '0 20px'}} onClick={() => {
window.location.href = './index.html?site_code=' + code; window.location.href = './?site_code=' + code;
}}> }}>
返回 返回
</Button> </Button>
......
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