fix(components): 修复页面顶部栏链接打开条件判断和公寓项间距问题
修复pageTopBar.vue中openInfo函数缺少URL判断导致潜在错误,调整apartment-item.vue中车辆图标间距从6px改为3px。同时更新dist目录下的构建文件。
This commit is contained in:
@@ -136,7 +136,7 @@ let changeTabBtnType = (item) => {
|
||||
};
|
||||
|
||||
let openInfo = (data) => {
|
||||
window.open(data.url);
|
||||
if (data.url) window.open(data.url);
|
||||
};
|
||||
|
||||
//监听路由
|
||||
|
||||
@@ -419,7 +419,7 @@ const loadload = () => {
|
||||
margin-bottom: 5px;
|
||||
|
||||
&:not(:last-of-type) {
|
||||
margin-right: 6px;
|
||||
margin-right: 3px;
|
||||
}
|
||||
|
||||
.vehicle-icon {
|
||||
|
||||
Reference in New Issue
Block a user