File tree Expand file tree Collapse file tree 5 files changed +12
-8
lines changed Expand file tree Collapse file tree 5 files changed +12
-8
lines changed Original file line number Diff line number Diff line change 1313 },
1414 "dependencies" : {
1515 "@antv/data-set" : " ^0.10.2" ,
16- "ant-design-vue" : " 1.5.0-beta.1 " ,
16+ "ant-design-vue" : " 1.5.0-rc.6 " ,
1717 "axios" : " ^0.19.0" ,
1818 "core-js" : " ^3.1.2" ,
1919 "enquire.js" : " ^2.1.6" ,
Original file line number Diff line number Diff line change @@ -23,3 +23,5 @@ Vue.use(VueStorage, config.storageOptions)
2323Vue . use ( VueClipboard )
2424Vue . use ( PermissionHelper )
2525Vue . use ( VueCropper )
26+
27+ process . env . NODE_ENV !== 'production' && console . warn ( '[antd-pro] NOTICE: Antd use lazy-load.' )
Original file line number Diff line number Diff line change @@ -26,3 +26,5 @@ Vue.use(VueStorage, config.storageOptions)
2626Vue . use ( VueClipboard )
2727Vue . use ( PermissionHelper )
2828Vue . use ( VueCropper )
29+
30+ process . env . NODE_ENV !== 'production' && console . warn ( '[antd-pro] WARNING: Antd now use fulled imported.' )
Original file line number Diff line number Diff line change @@ -3,11 +3,11 @@ import { isIE } from '@/utils/util'
33// 判断环境不是 prod 或者 preview 是 true 时,加载 mock 服务
44if ( process . env . NODE_ENV !== 'production' || process . env . VUE_APP_PREVIEW === 'true' ) {
55 if ( isIE ( ) ) {
6- console . error ( 'ERROR: `mockjs` NOT SUPPORT `IE` PLEASE DO NOT USE IN `production` ENV.' )
6+ console . error ( '[antd-pro] ERROR: `mockjs` NOT SUPPORT `IE` PLEASE DO NOT USE IN `production` ENV.' )
77 }
88 // 使用同步加载依赖
99 // 防止 vuex 中的 GetInfo 早于 mock 运行,导致无法 mock 请求返回结果
10- console . log ( 'mock mounting' )
10+ console . log ( '[antd-pro] mock mounting' )
1111 const Mock = require ( 'mockjs2' )
1212 require ( './services/auth' )
1313 require ( './services/user' )
@@ -19,5 +19,5 @@ if (process.env.NODE_ENV !== 'production' || process.env.VUE_APP_PREVIEW === 'tr
1919 Mock . setup ( {
2020 timeout : 800 // setter delay time
2121 } )
22- console . log ( 'mock mounted' )
22+ console . log ( '[antd-pro] mock mounted' )
2323}
Original file line number Diff line number Diff line change @@ -1970,10 +1970,10 @@ ansi-styles@^3.2.0, ansi-styles@^3.2.1:
19701970 dependencies :
19711971 color-convert "^1.9.0"
19721972
1973- ant-design-vue@1.5.0-beta.1 :
1974- version "1.5.0-beta.1 "
1975- resolved "https://registry.npmjs.org /ant-design-vue/-/ant-design-vue-1.5.0-beta.1 .tgz#9396e1bb4435c9bc5dc224e2bd888a000144a8f9 "
1976- integrity sha512-Fv5vxO+qHakbjsswgZ70/bjiZK4FphdFxv31VjBJKfhA5Ud7K6sNqC0BVpYS8nL0BwxGCVG8I30efNdU3VifnA ==
1973+ ant-design-vue@1.5.0-rc.6 :
1974+ version "1.5.0-rc.6 "
1975+ resolved "https://registry.yarnpkg.com /ant-design-vue/-/ant-design-vue-1.5.0-rc.6 .tgz#a9616550e0386bf7a6b1bf00aae5cadc13159967 "
1976+ integrity sha512-ILUyMCKa2oYAaymlWNlT2gVsNBugUCLZl28pUR+RAWjxYvxxqh6PCZj6hO9gRRgdz5WvwK1Z1gi5ua2JROOZfQ ==
19771977 dependencies :
19781978 " @ant-design/icons" " ^2.1.1"
19791979 " @ant-design/icons-vue" " ^2.0.0"
You can’t perform that action at this time.
0 commit comments