Commit f894085cbd6f21e1492ece9a64a966528a254045
1 parent
b84047b3
vue3【notice】:1)增加 reloadList 建议 await;2)notice 的 html 详情展示的 todo;3)列表不展示 content 字段
Showing
2 changed files
with
4 additions
and
3 deletions
yudao-ui-admin-vue3/src/views/system/notice/index.vue
| @@ -148,7 +148,7 @@ const submitForm = async () => { | @@ -148,7 +148,7 @@ const submitForm = async () => { | ||
| 148 | dialogVisible.value = false | 148 | dialogVisible.value = false |
| 149 | } finally { | 149 | } finally { |
| 150 | actionLoading.value = false | 150 | actionLoading.value = false |
| 151 | - // 刷新列表 | 151 | + // 刷新列表 TODO 星语:这里要有个 await |
| 152 | reloadList(xGrid) | 152 | reloadList(xGrid) |
| 153 | } | 153 | } |
| 154 | } | 154 | } |
yudao-ui-admin-vue3/src/views/system/notice/notice.data.ts
| @@ -34,7 +34,7 @@ const crudSchemas = reactive<VxeCrudSchema>({ | @@ -34,7 +34,7 @@ const crudSchemas = reactive<VxeCrudSchema>({ | ||
| 34 | isSearch: true | 34 | isSearch: true |
| 35 | }, | 35 | }, |
| 36 | { | 36 | { |
| 37 | - title: '公告内容', | 37 | + title: '公告内容', // TODO 星语:详情时,公告展示有办法是 html 么? |
| 38 | field: 'content', | 38 | field: 'content', |
| 39 | table: { | 39 | table: { |
| 40 | type: 'html' | 40 | type: 'html' |
| @@ -47,7 +47,8 @@ const crudSchemas = reactive<VxeCrudSchema>({ | @@ -47,7 +47,8 @@ const crudSchemas = reactive<VxeCrudSchema>({ | ||
| 47 | componentProps: { | 47 | componentProps: { |
| 48 | valueHtml: '' | 48 | valueHtml: '' |
| 49 | } | 49 | } |
| 50 | - } | 50 | + }, |
| 51 | + isTable: false | ||
| 51 | }, | 52 | }, |
| 52 | { | 53 | { |
| 53 | title: t('common.createTime'), | 54 | title: t('common.createTime'), |