[PE mobile] Small edits

This commit is contained in:
SergeyEzhin 2021-03-16 16:41:17 +03:00
parent 257c564d35
commit 555e983bc3
3 changed files with 5 additions and 3 deletions

View file

@ -3,11 +3,13 @@ import {action, observable, makeObservable} from 'mobx';
export class storeAppOptions { export class storeAppOptions {
constructor() { constructor() {
makeObservable(this, { makeObservable(this, {
isEdit: observable,
setConfigOptions: action, setConfigOptions: action,
setPermissionOptions: action setPermissionOptions: action
}); });
} }
isEdit = false;
config = {}; config = {};
setConfigOptions (config) { setConfigOptions (config) {

View file

@ -9,6 +9,6 @@ module.exports = {
'@babel/plugin-transform-runtime', '@babel/plugin-transform-runtime',
'@babel/plugin-syntax-dynamic-import', '@babel/plugin-syntax-dynamic-import',
['@babel/plugin-proposal-decorators', {'legacy': true }], ['@babel/plugin-proposal-decorators', {'legacy': true }],
['@babel/plugin-proposal-class-properties',{'loose':true}], ['@babel/plugin-proposal-class-properties',{'loose': false}],
], ],
}; };

View file

@ -58,8 +58,8 @@
"less": "^3.13.1", "less": "^3.13.1",
"less-loader": "^6.2.0", "less-loader": "^6.2.0",
"mini-css-extract-plugin": "^0.9.0", "mini-css-extract-plugin": "^0.9.0",
"mobx": "^5.15.7", "mobx": "^6.1.8",
"mobx-react": "^6.3.1", "mobx-react": "^7.1.0",
"optimize-css-assets-webpack-plugin": "^5.0.4", "optimize-css-assets-webpack-plugin": "^5.0.4",
"ora": "^4.1.1", "ora": "^4.1.1",
"postcss-loader": "^3.0.0", "postcss-loader": "^3.0.0",