优化
This commit is contained in:
@@ -41,7 +41,8 @@
|
||||
v-if="label"
|
||||
:pt="{
|
||||
className: parseClass([
|
||||
'cl-list-item__label w-24 whitespace-nowrap overflow-visible',
|
||||
'cl-list-item__label whitespace-nowrap overflow-visible',
|
||||
[justify == 'start', 'w-24'],
|
||||
pt.label?.className
|
||||
])
|
||||
}"
|
||||
|
||||
@@ -161,7 +161,6 @@ function refresh() {
|
||||
// 获取容器高度和宽度
|
||||
const boxHeight = (box as NodeInfo).height ?? 0;
|
||||
const boxWidth = (box as NodeInfo).width ?? 0;
|
||||
console.log(boxWidth);
|
||||
|
||||
// 查询文本节点尺寸
|
||||
uni.createSelectorQuery()
|
||||
|
||||
Reference in New Issue
Block a user