style: 下拉-关系样式调整

This commit is contained in:
@changcode
2022-02-17 15:05:33 +08:00
parent 43a30c1f06
commit 8c0f467ed2
4 changed files with 5 additions and 5 deletions

View File

@@ -41,7 +41,7 @@ export default {
data.map((item, index) => {
if (this.$refs[value + index]) {
// 每条数据的宽度
const width = this.$refs[value + index].offsetWidth + 32
const width = this.$refs[value + index].offsetWidth + 35
if (width) {
sum += width
if (flag && sum >= relatedServerWidth && num === 1) {