mirror of
https://github.com/YMFE/yapi.git
synced 2024-11-27 04:40:08 +08:00
parent
3870c5f91d
commit
3de66a6187
@ -12,7 +12,8 @@ export default class Notify extends Component {
|
||||
}
|
||||
|
||||
componentDidMount() {
|
||||
axios.get('https://www.easy-mock.com/mock/5c2851e3d84c733cb500c3b9/yapi/versions').then(req => {
|
||||
const versions = 'https://www.fastmock.site/mock/1529fa78fa4c4880ad153d115084a940/yapi/versions';
|
||||
axios.get(versions).then(req => {
|
||||
if (req.status === 200) {
|
||||
this.setState({ newVersion: req.data.data[0] });
|
||||
} else {
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "yapi-vendor",
|
||||
"version": "1.9.2",
|
||||
"version": "1.9.3",
|
||||
"description": "YAPI",
|
||||
"main": "server/app.js",
|
||||
"scripts": {
|
||||
|
Loading…
Reference in New Issue
Block a user