* fix: 修改 noticebar 默认样式 * fix: 冲突修改 NoticeBar * fix: 冲突修改 noticebar * fix: 地址组件点击空白处触发事件问题修改 * fix: address 组件红线位置错乱问题 Co-authored-by: yangxiaolu3 <yangxiaolu3@jd.com>
@@ -320,7 +320,8 @@ export default create({
nextTick(() => {
if (name) {
const distance = name.offsetLeft;
- lineDistance.value = distance;
+
+ lineDistance.value = distance ? distance : 20;
}
});
};