Commit beaf465334766672d6c1a8e85bbf97794bc1ac1b
1 parent
ce0b0d11
fix: product profiles model of matter not render dataType column
Showing
2 changed files
with
5 additions
and
1 deletions
| @@ -45,8 +45,11 @@ export const physicalColumn: BasicColumn[] = [ | @@ -45,8 +45,11 @@ export const physicalColumn: BasicColumn[] = [ | ||
| 45 | }, | 45 | }, |
| 46 | { | 46 | { |
| 47 | title: '数据类型', | 47 | title: '数据类型', |
| 48 | - dataIndex: 'functionJson.type', | 48 | + dataIndex: 'functionJson.dataType.type', |
| 49 | width: 100, | 49 | width: 100, |
| 50 | + format: (text: string) => { | ||
| 51 | + return text || '--'; | ||
| 52 | + }, | ||
| 50 | }, | 53 | }, |
| 51 | { | 54 | { |
| 52 | title: '创建时间', | 55 | title: '创建时间', |
| @@ -201,6 +201,7 @@ | @@ -201,6 +201,7 @@ | ||
| 201 | 201 | ||
| 202 | const handleReturn = () => (isShowBtn.value = false); | 202 | const handleReturn = () => (isShowBtn.value = false); |
| 203 | const handleEmit = () => { | 203 | const handleEmit = () => { |
| 204 | + isShowBtn.value = false; | ||
| 204 | createMessage.success('发布成功'); | 205 | createMessage.success('发布成功'); |
| 205 | }; | 206 | }; |
| 206 | 207 |