请先修改热点标签状态

This commit is contained in:
670788339
2025-11-01 13:45:40 +08:00
parent 9d39cc001f
commit 33bdcc4ff4

View File

@@ -71,7 +71,18 @@
<!-- 前台公共显示列 -->
<template v-else-if="column.key === 'isPublic'">
<a-tooltip
v-if="record.isHot"
title="热点标签必须是公共标签,请先修改热点标签状态"
>
<a-switch
v-model:checked="record.isPublic"
:disabled="record.isHot"
@change="handlePublicChange(record)"
/>
</a-tooltip>
<a-switch
v-else
v-model:checked="record.isPublic"
:disabled="record.isHot"
@change="handlePublicChange(record)"