no message

This commit is contained in:
kuaifan 2023-06-07 09:50:23 +08:00
parent 73cb7e9397
commit b0fda87923

View File

@ -797,9 +797,9 @@ export default {
departmentParentDisabled() { departmentParentDisabled() {
return !!(this.departmentData.id > 0 && this.departmentList.find(({parent_id}) => parent_id == this.departmentData.id)); return !!(this.departmentData.id > 0 && this.departmentList.find(({parent_id}) => parent_id == this.departmentData.id));
}, },
userStyle({minWidth}) { userStyle({minWidth, windowPortrait}) {
const style = {} const style = {}
if (minWidth > 0) { if (minWidth > 0 && windowPortrait) {
style.minWidth = (minWidth - 40) + 'px' style.minWidth = (minWidth - 40) + 'px'
} }
return style return style