mirror of
				https://github.com/YunaiV/ruoyi-vue-pro.git
				synced 2025-11-04 08:06:12 +08:00 
			
		
		
		
	vue3【notice】:1)增加 reloadList 建议 await;2)notice 的 html 详情展示的 todo;3)列表不展示 content 字段
This commit is contained in:
		@ -148,7 +148,7 @@ const submitForm = async () => {
 | 
				
			|||||||
        dialogVisible.value = false
 | 
					        dialogVisible.value = false
 | 
				
			||||||
      } finally {
 | 
					      } finally {
 | 
				
			||||||
        actionLoading.value = false
 | 
					        actionLoading.value = false
 | 
				
			||||||
        // 刷新列表
 | 
					        // 刷新列表 TODO 星语:这里要有个 await
 | 
				
			||||||
        reloadList(xGrid)
 | 
					        reloadList(xGrid)
 | 
				
			||||||
      }
 | 
					      }
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
				
			|||||||
@ -34,7 +34,7 @@ const crudSchemas = reactive<VxeCrudSchema>({
 | 
				
			|||||||
      isSearch: true
 | 
					      isSearch: true
 | 
				
			||||||
    },
 | 
					    },
 | 
				
			||||||
    {
 | 
					    {
 | 
				
			||||||
      title: '公告内容',
 | 
					      title: '公告内容', // TODO 星语:详情时,公告展示有办法是 html 么?
 | 
				
			||||||
      field: 'content',
 | 
					      field: 'content',
 | 
				
			||||||
      table: {
 | 
					      table: {
 | 
				
			||||||
        type: 'html'
 | 
					        type: 'html'
 | 
				
			||||||
@ -47,7 +47,8 @@ const crudSchemas = reactive<VxeCrudSchema>({
 | 
				
			|||||||
        componentProps: {
 | 
					        componentProps: {
 | 
				
			||||||
          valueHtml: ''
 | 
					          valueHtml: ''
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
      }
 | 
					      },
 | 
				
			||||||
 | 
					      isTable: false
 | 
				
			||||||
    },
 | 
					    },
 | 
				
			||||||
    {
 | 
					    {
 | 
				
			||||||
      title: t('common.createTime'),
 | 
					      title: t('common.createTime'),
 | 
				
			||||||
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user