|
@@ -90,7 +90,7 @@ function AddBuilding(props) {
|
90
|
90
|
const api = data.buildingId === undefined ? apis.building.addBuilding : apis.building.updateBuilding
|
91
|
91
|
request({ ...api, data: { ...data } }).then(() => {
|
92
|
92
|
openNotificationWithIcon('success', '操作成功')
|
93
|
|
- // router.go(-1)
|
|
93
|
+ router.go(-1)
|
94
|
94
|
}).catch(err => {
|
95
|
95
|
openNotificationWithIcon('error', err.message)
|
96
|
96
|
})
|