mirror of
				https://gitee.com/hhyykk/ipms-sjy.git
				synced 2025-10-31 10:18:42 +08:00 
			
		
		
		
	fix: todo
This commit is contained in:
		| @@ -51,7 +51,11 @@ | ||||
|       v-if="actionType === 'detail'" | ||||
|       :schema="allSchemas.detailSchema" | ||||
|       :data="detailRef" | ||||
|     /> | ||||
|     > | ||||
|       <template #content="{ row }"> | ||||
|         <Editor :model-value="row.content" read-only="true" /> | ||||
|       </template> | ||||
|     </Descriptions> | ||||
|     <template #footer> | ||||
|       <!-- 按钮:保存 --> | ||||
|       <XButton | ||||
| @@ -77,6 +81,7 @@ import { FormExpose } from '@/components/Form' | ||||
| // 业务相关的 import | ||||
| import * as NoticeApi from '@/api/system/notice' | ||||
| import { rules, allSchemas } from './notice.data' | ||||
| import { Editor } from '@/components/Editor' | ||||
|  | ||||
| const { t } = useI18n() // 国际化 | ||||
| const message = useMessage() // 消息弹窗 | ||||
|   | ||||
| @@ -39,7 +39,7 @@ const crudSchemas = reactive<VxeCrudSchema>({ | ||||
|       title: '公告内容', | ||||
|       field: 'content', | ||||
|       table: { | ||||
|         type: 'html' // TODO 芋艿:详情展示,会是 html 的原始内容。要不改成直接使用富文本展示,设置个 readonly? | ||||
|         type: 'html' | ||||
|       }, | ||||
|       form: { | ||||
|         component: 'Editor', | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 xingyu
					xingyu