摘要:
安装mock,和案axios npm i mockjs npm i axios 后再vue组件中使用 <script>import axios from 'axios'import Mock from 'mockjs'const Random = Mock.Random; Mock.mock('ht 阅读全文
摘要:
import React from 'react'; import {fetch} from 'whatwg-fetch'; // import {HashRouter as Router,Route,Redirect,Switch} from 'react-router-dom' import { Table,Input,Button,Radio,Modal} from 'antd'; im... 阅读全文