Commit f894085cbd6f21e1492ece9a64a966528a254045

Authored by YunaiV
1 parent b84047b3

vue3【notice】:1)增加 reloadList 建议 await;2)notice 的 html 详情展示的 todo;3)列表不展示 content 字段

yudao-ui-admin-vue3/src/views/system/notice/index.vue
... ... @@ -148,7 +148,7 @@ const submitForm = async () => {
148 148 dialogVisible.value = false
149 149 } finally {
150 150 actionLoading.value = false
151   - // 刷新列表
  151 + // 刷新列表 TODO 星语:这里要有个 await
152 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 34 isSearch: true
35 35 },
36 36 {
37   - title: '公告内容',
  37 + title: '公告内容', // TODO 星语:详情时,公告展示有办法是 html 么?
38 38 field: 'content',
39 39 table: {
40 40 type: 'html'
... ... @@ -47,7 +47,8 @@ const crudSchemas = reactive<VxeCrudSchema>({
47 47 componentProps: {
48 48 valueHtml: ''
49 49 }
50   - }
  50 + },
  51 + isTable: false
51 52 },
52 53 {
53 54 title: t('common.createTime'),
... ...