fix(消息中心): 修复消息中心点击跳转范围问题
--bug=1044164 --user=郭雨琦 https://www.tapd.cn/55049933/bugtrace/bugs/view/1155049933001044164
This commit is contained in:
parent
1572175a69
commit
edf4498960
|
@ -144,18 +144,20 @@
|
|||
</div>
|
||||
</a-tooltip>
|
||||
|
||||
<MsButton v-else @click="handleNameClick(item)">
|
||||
<div v-else class="resource_template">
|
||||
<a-tooltip :content="item.content.split(':')[0]" :mouse-enter-delay="300">
|
||||
<div class="one-line-text max-w-[300px] text-[var(--color-text-2)]"
|
||||
>{{ item.content.split(':')[0] }}:</div
|
||||
>
|
||||
</a-tooltip>
|
||||
<a-tooltip :content="item.resourceName" :mouse-enter-delay="300">
|
||||
<div class="one-line-text max-w-[300px]">
|
||||
{{ item.resourceName }}
|
||||
</div>
|
||||
</a-tooltip>
|
||||
</MsButton>
|
||||
<MsButton @click="handleNameClick(item)">
|
||||
<a-tooltip :content="item.resourceName" :mouse-enter-delay="300">
|
||||
<div class="one-line-text max-w-[300px]">
|
||||
{{ item.resourceName }}
|
||||
</div>
|
||||
</a-tooltip>
|
||||
</MsButton>
|
||||
</div>
|
||||
</div>
|
||||
<div class="flex items-center text-[var(--color-text-4)]">
|
||||
{{ dayjs(item.createTime).format('YYYY-MM-DD HH:mm:ss') }}
|
||||
|
@ -217,7 +219,7 @@
|
|||
const userStore = useUserStore();
|
||||
const router = useRouter();
|
||||
const { t } = useI18n();
|
||||
const { openNewPage, openNewPageWidthSingleParam } = useOpenNewPage();
|
||||
const { openNewPage } = useOpenNewPage();
|
||||
|
||||
const innerVisible = useVModel(props, 'visible', emit);
|
||||
const projectId = ref<string>(appStore.currentProjectId);
|
||||
|
@ -503,4 +505,7 @@
|
|||
box-sizing: border-box;
|
||||
line-height: 1.8715;
|
||||
}
|
||||
.resource_template {
|
||||
display: flex;
|
||||
}
|
||||
</style>
|
||||
|
|
Loading…
Reference in New Issue