|
@@ -18,7 +18,7 @@
|
|
|
class="point zoom"
|
|
|
@mouseenter.prevent="onMouseEnter($event, tag)"
|
|
|
@click.stop="goTag($event, tag)"
|
|
|
- :style="{ 'background-image': 'url(' + getUrl(tag.icon, tag.type) + ')' }"
|
|
|
+ :style="{ 'background-image': 'url(' + getUrl(tag.icon) + ')' }"
|
|
|
></span>
|
|
|
<div class="content">
|
|
|
<div
|
|
@@ -182,10 +182,10 @@
|
|
|
emit('setCurrentTag');
|
|
|
});
|
|
|
});
|
|
|
- const getUrl = (icon, type) => {
|
|
|
+ const getUrl = (icon) => {
|
|
|
// let url = icon == '' || !icon ? getApp().resource.getAppURL('images/tag_icon_default.svg') : icon
|
|
|
let url;
|
|
|
- if (styleList.value.includes(icon) || type == 'link') {
|
|
|
+ if (styleList.value.includes(icon)) {
|
|
|
// url = getApp().resource.getAppURL('images/tag/' + icon)
|
|
|
url = getApp().resource.getAppURL('images/tag_icon_default.svg');
|
|
|
} else {
|