提交 94240f43 authored 作者: 宋雄's avatar 宋雄

修改bug

上级 06366d6d
NODE_ENV=development
# VUE_APP_API_BASE_URL='http://192.168.0.100:9999'
# VUE_APP_API_BASE_URL='http://192.168.0.108:9999'
VUE_APP_API_BASE_URL='http://220.203.25.212:9999'
VUE_APP_CAS_BASE_URL=http://cas.example.org:8443/cas
VUE_APP_ONLINE_BASE_URL=http://fileview.jeecg.com/onlinePreview
......
......@@ -67,15 +67,13 @@
fullscreen:false
}
},
created(){
this.loadDepart();
},
watch:{
departId(){
this.initDepartComponent()
},
visible: {
handler() {
this.loadDepart();
this.initDepartComponent(true)
}
}
......
......@@ -136,7 +136,7 @@
},
compareToFirstPassword (rule, value, callback) {
const form = this.form;
if (value && value !== form.getFieldValue('password')) {
if (value && form.getFieldValue('password') && value !== form.getFieldValue('password')) {
callback('两次输入的密码不一样!');
} else {
callback()
......
......@@ -184,7 +184,7 @@ export default {
this.loading = !this.loading
},
async companyNotice() {
let { result } = await companyNoticeList({ pageNo: 1, pageSize: 9, order: 'desc', column: 'createTime'})
let { result } = await companyNoticeList({ pageNo: 1, pageSize: 9, order: 'desc', column: 'createTime', noticeStatus: 'published'})
this.noticeList = result.records
},
toMore() {
......
......@@ -88,7 +88,7 @@ module.exports = {
devServer: {
port: 3000,
// hot: true,
// disableHostCheck: true,
disableHostCheck: true,
// overlay: {
// warnings: false,
// errors: true,
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论