From 7b0682a0feb5e121a97f018be1f4de85d994d952 Mon Sep 17 00:00:00 2001 From: vapao Date: Sat, 28 Nov 2020 23:54:01 +0800 Subject: [PATCH] style migrate v3 --- spug_web/package.json | 6 ++--- .../src/pages/system/setting/BasicSetting.js | 26 +++++-------------- 2 files changed, 9 insertions(+), 23 deletions(-) diff --git a/spug_web/package.json b/spug_web/package.json index 77c71f4..e8ee1c0 100644 --- a/spug_web/package.json +++ b/spug_web/package.json @@ -6,15 +6,15 @@ "@ant-design/icons": "^4.3.0", "ace-builds": "^1.4.7", "antd": "^4.8.5", - "axios": "^0.20.0", - "bizcharts": "^3.5.6", + "axios": "^0.21.0", + "bizcharts": "^3.5.9", "history": "^4.10.1", "lodash": "^4.17.19", "mobx": "^5.15.6", "mobx-react": "^6.3.0", "moment": "^2.24.0", "react": "^16.13.1", - "react-ace": "^8.0.0", + "react-ace": "^9.2.0", "react-dom": "^16.13.1", "react-router-dom": "^5.2.0", "react-scripts": "3.4.3", diff --git a/spug_web/src/pages/system/setting/BasicSetting.js b/spug_web/src/pages/system/setting/BasicSetting.js index fba548e..ec1b8aa 100644 --- a/spug_web/src/pages/system/setting/BasicSetting.js +++ b/spug_web/src/pages/system/setting/BasicSetting.js @@ -5,25 +5,11 @@ */ import React from 'react'; import styles from './index.module.css'; -import { Form } from '@ant-design/compatible'; -import '@ant-design/compatible/assets/index.css'; -import { observer } from 'mobx-react' - -@observer -class BasicSetting extends React.Component { - constructor(props) { - super(props); - this.state = {} - } - - - render() { - return ( - -
基本设置
-
- ) - } +export default function () { + return ( + +
基本设置
+
+ ) } -export default Form.create()(BasicSetting)