|
@@ -39,12 +39,12 @@
|
|
|
</span>
|
|
|
<span class="mr20">是否公开:{{ state.info.isPublic ? '是' : '否' }}</span>
|
|
|
<span class="mr20">已阅:{{ state.info.pageView }}</span>
|
|
|
- <span class="flex-center-align" v-if="hotspotName && ['LuZhou'].includes(themeConfig.appScope)"
|
|
|
+ <span class="flex-center-align" v-if="['LuZhou'].includes(themeConfig.appScope) && state.info?.hotspotName"
|
|
|
>热点分类:
|
|
|
- <el-tooltip effect="dark" content="Top Left prompts info" :disabled="hotspotName.length < 8">
|
|
|
- <span style="display: block; width: 100px" class="text-no-wrap">{{ hotspotName }}</span>
|
|
|
+ <el-tooltip effect="dark" content="Top Left prompts info" :disabled="state.info?.hotspotName.length < 8">
|
|
|
+ <span style="display: block; width: 100px" class="text-no-wrap">{{ state.info?.hotspotName }}</span>
|
|
|
<template #content>
|
|
|
- {{ hotspotName }}
|
|
|
+ {{ state.info?.hotspotName }}
|
|
|
</template>
|
|
|
</el-tooltip>
|
|
|
</span>
|
|
@@ -346,15 +346,6 @@ const collectFormClose = () => {
|
|
|
collectFormRef.value?.resetFields();
|
|
|
collectFormRef.value?.clearValidate();
|
|
|
};
|
|
|
-// 热点名称
|
|
|
-const hotspotName = computed(() => {
|
|
|
- console.log(state.info.knowledgeTypes);
|
|
|
- if (state.info.knowledgeTypes && state.info.knowledgeTypes.length) {
|
|
|
- return state.info.knowledgeTypes.map((item: any) => item.spliceName).join('、');
|
|
|
- } else {
|
|
|
- return '';
|
|
|
- }
|
|
|
-});
|
|
|
// 确认选择收藏分组
|
|
|
const collectConfirm = (formEl: FormInstance | undefined) => {
|
|
|
if (!formEl) return;
|