Showing
1 changed file
with
2 additions
and
4 deletions
@@ -23,8 +23,6 @@ | @@ -23,8 +23,6 @@ | ||
23 | import { AuthIcon, CardLayoutButton } from '/@/components/Widget'; | 23 | import { AuthIcon, CardLayoutButton } from '/@/components/Widget'; |
24 | import AuthDropDown from '/@/components/Widget/AuthDropDown.vue'; | 24 | import AuthDropDown from '/@/components/Widget/AuthDropDown.vue'; |
25 | import { ShareModal } from '/@/views/common/ShareModal'; | 25 | import { ShareModal } from '/@/views/common/ShareModal'; |
26 | - import { ViewTypeNameEnum } from '../../common/ShareModal/config'; | ||
27 | - import { ViewType } from '../../visual/board/config/panelDetail'; | ||
28 | import { useRole } from '/@/hooks/business/useRole'; | 26 | import { useRole } from '/@/hooks/business/useRole'; |
29 | import { Icon } from '/@/components/Icon'; | 27 | import { Icon } from '/@/components/Icon'; |
30 | import { createScadaPageLink, ScadaModeEnum } from './help'; | 28 | import { createScadaPageLink, ScadaModeEnum } from './help'; |
@@ -202,7 +200,7 @@ | @@ -202,7 +200,7 @@ | ||
202 | <List.Item> | 200 | <List.Item> |
203 | <Card | 201 | <Card |
204 | :style="{ | 202 | :style="{ |
205 | - '--viewType': item.viewType === ViewType.PUBLIC_VIEW ? '#1890ff' : '#faad14', | 203 | + '--viewType': '#1890ff', |
206 | }" | 204 | }" |
207 | hoverable | 205 | hoverable |
208 | class="card-container" | 206 | class="card-container" |
@@ -220,7 +218,7 @@ | @@ -220,7 +218,7 @@ | ||
220 | <span | 218 | <span |
221 | class="absolute top-0 left-0 text-light-50 transform -rotate-45 translate-y-1" | 219 | class="absolute top-0 left-0 text-light-50 transform -rotate-45 translate-y-1" |
222 | > | 220 | > |
223 | - {{ ViewTypeNameEnum[item.viewType] || ViewTypeNameEnum.PRIVATE_VIEW }} | 221 | + 母版 |
224 | </span> | 222 | </span> |
225 | </div> | 223 | </div> |
226 | </template> | 224 | </template> |