Commit 48650965 by wufan

feat:升级antd为4.x

parent 071b98f7
......@@ -17,7 +17,7 @@
"@types/underscore": "^1.10.22",
"@typescript-eslint/eslint-plugin": "^2.10.0",
"@typescript-eslint/parser": "^2.10.0",
"antd": "3.26.6",
"antd": "^4.8.5",
"axios": "^0.20.0",
"babel-eslint": "10.1.0",
"babel-jest": "^24.9.0",
......
......@@ -68,7 +68,7 @@ class UserInfo extends BaseComponent {
changeMessageControl(messageType, status) {
window.NewVersion ?
axios.Business('public/config/modifyAdminConfig', { configType: ENUM.adminConfig[messageType], configValue: status == 1 ? 'TRUE' : 'FALSE' }).then(() => {
this.new FetchMessageControl();
this.FetchMessageControl();
})
: axios.post('api-b/b/inst/edit/adminConfig', { messageType, status }).then(() => {
this.fetchMessageControl();
......
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