|
|
@@ -56,9 +56,9 @@
|
|
|
<template #default="scope">
|
|
|
<el-image
|
|
|
style="width: 100px; height: 100px"
|
|
|
- :src="scope.row.picUrl"
|
|
|
+ :src="convertImageUrl(scope.row.picUrl)"
|
|
|
:zoom-rate="1.2"
|
|
|
- :preview-src-list="[scope.row.picUrl]"
|
|
|
+ :preview-src-list="[convertImageUrl(scope.row.picUrl)]"
|
|
|
:initial-index="0"
|
|
|
:z-index="900"
|
|
|
:hide-on-click-modal="true"
|
|
|
@@ -125,7 +125,7 @@ import { DICT_TYPE, getIntDictOptions } from '@/utils/dict'
|
|
|
import { dateFormatter } from '@/utils/formatTime'
|
|
|
import * as NoticeApi from '@/api/system/notice'
|
|
|
import NoticeForm from './NoticeForm.vue'
|
|
|
-
|
|
|
+import { convertImageUrl } from '@/utils/image-helper'
|
|
|
defineOptions({ name: 'SystemNotice' })
|
|
|
|
|
|
const message = useMessage() // 消息弹窗
|