mirror of
https://github.com/kuaifan/dootask.git
synced 2025-12-13 12:02:51 +00:00
no message
This commit is contained in:
parent
73cb7e9397
commit
b0fda87923
@ -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
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user