chore(deps): 更新依赖并常驻引入mock模块
- 移除开发环境判断,始终引入mock模块 - 将zy-react-library版本升级至1.4.1 - 新增zy-react-data依赖,版本为1.0.2master
parent
1476e3276e
commit
46bd567cc9
|
|
@ -33,7 +33,8 @@
|
|||
"react": "^18.2.0",
|
||||
"react-dom": "^18.2.0",
|
||||
"throttle-debounce": "^5.0.2",
|
||||
"zy-react-library": "^1.3.31"
|
||||
"zy-react-data": "^1.0.2",
|
||||
"zy-react-library": "^1.4.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@antfu/eslint-config": "^5.4.1",
|
||||
|
|
|
|||
|
|
@ -8,9 +8,9 @@ import "dayjs/locale/zh-cn";
|
|||
require("antd/dist/reset.css");
|
||||
require("zy-react-library/css/common.less");
|
||||
|
||||
if (process.env.NODE_ENV === "development") {
|
||||
require("~/mock");
|
||||
}
|
||||
// if (process.env.NODE_ENV === "development") {
|
||||
require("~/mock");
|
||||
// }
|
||||
|
||||
dayjs.locale("zh-cn");
|
||||
setJJBCommonAntdMessage(message);
|
||||
|
|
|
|||
Loading…
Reference in New Issue