Merge remote-tracking branch 'origin/main' into main

This commit is contained in:
wangjiahao 2021-06-10 17:46:30 +08:00
commit a12a670383
4 changed files with 5 additions and 5 deletions

View File

@ -83,7 +83,7 @@ export default {
kids.forEach(kid => {
contentWidth += kid.offsetWidth
})
this.showNumber = contentWidth > (this.$refs.deSelect.$refs.tags.clientWidth * 0.9)
this.showNumber = contentWidth > ((this.$refs.deSelect.$refs.tags.clientWidth - 30) * 0.9)
})
},

View File

@ -146,7 +146,7 @@ export default {
expandedArray: [],
groupForm: {
name: '',
pid: null,
pid: '0',
level: 0,
type: '',
children: [],
@ -201,7 +201,7 @@ export default {
this.editGroup = false
this.groupForm = {
name: '',
pid: null,
pid: '0',
level: 0,
type: '',
children: [],

View File

@ -36,7 +36,7 @@ export default {
currGroup: '',
groupForm: {
name: '',
pid: null,
pid: '0',
level: 0,
type: '',
children: [],

View File

@ -36,7 +36,7 @@ export default {
currGroup: '',
groupForm: {
name: '',
pid: null,
pid: '0',
level: 0,
type: 'group',
children: [],