diff --git a/ant-design-vue-jeecg/src/views/user/Login.vue b/ant-design-vue-jeecg/src/views/user/Login.vue index 743313d6..f10cafba 100644 --- a/ant-design-vue-jeecg/src/views/user/Login.vue +++ b/ant-design-vue-jeecg/src/views/user/Login.vue @@ -11,7 +11,7 @@ size="large" v-decorator="['username',validatorRules.username,{ validator: this.handleUsernameOrEmail }]" type="text" - placeholder="请输入帐户名 / jeecg"> + placeholder="请输入帐户名 / admin"> diff --git a/ant-design-vue-jeecg/vue.config.js b/ant-design-vue-jeecg/vue.config.js index b4e1dc0f..bfd4a2be 100644 --- a/ant-design-vue-jeecg/vue.config.js +++ b/ant-design-vue-jeecg/vue.config.js @@ -58,20 +58,17 @@ module.exports = { .loader('file-loader') .end() - // 编译某些npm包里的es6代码 - // TODO 导致online js lib启动报错 - // config.module - // // .rule('vxe') - // // .test(/\.js$/) - // // .use() - // // .loader('babel-loader') - // // .options({ - // // include: [ - // // resolve('node_modules/vxe-table'), - // // resolve('node_modules/vxe-table-plugin-antd'), - // // ] - // // }) - // // .end() + // 编译某些npm包里的es6代码 + config.module + .rule('vxe') + .test(/\.js$/) + .include + .add(resolve('node_modules/vxe-table')) + .add(resolve('node_modules/vxe-table-plugin-antd')) + .end() + .use() + .loader('babel-loader') + .end() }, diff --git a/jeecg-boot/jeecg-boot-base-common/pom.xml b/jeecg-boot/jeecg-boot-base-common/pom.xml index 5a7cca0b..9c028267 100644 --- a/jeecg-boot/jeecg-boot-base-common/pom.xml +++ b/jeecg-boot/jeecg-boot-base-common/pom.xml @@ -169,7 +169,7 @@ org.hibernate hibernate-re - 2.3.0 + 2.3.01 org.hibernate