diff --git a/src/components/d2-error-log-list/components/ExpandItem/index.vue b/src/components/d2-error-log-list/components/ExpandItem/index.vue new file mode 100644 index 00000000..531b9a24 --- /dev/null +++ b/src/components/d2-error-log-list/components/ExpandItem/index.vue @@ -0,0 +1,30 @@ + + + {{title}} + {{value === '' ? '无数据' : value}} + + + + + diff --git a/src/components/d2-error-log-list/index.vue b/src/components/d2-error-log-list/index.vue index 438ff7d7..34a93065 100644 --- a/src/components/d2-error-log-list/index.vue +++ b/src/components/d2-error-log-list/index.vue @@ -1,17 +1,66 @@ - - - {{stackBeautify(props.row.err)}} - - + + + + + + + + + {{stackBeautify(props.row.err)}} + + + + + + + + - - {{scope.row.vm ? scope.row.vm.$vnode.tag : ''}} - - - - @@ -72,40 +110,48 @@ :show-overflow-tooltip="true"> - {{scope.row.err ? scope.row.err.name : ''}} + {{get(scope.row.err, 'name', '')}} + label="错误信息" + width="140px"> - {{scope.row.err ? scope.row.err.message : ''}} + {{get(scope.row.err, 'message', '')}} - - - + + diff --git a/src/layout/header-aside/components/contextmenu/components/contentmenuList/index.vue b/src/layout/header-aside/components/contextmenu/components/contentmenuList/index.vue index d3ce5f40..06594cbb 100644 --- a/src/layout/header-aside/components/contextmenu/components/contentmenuList/index.vue +++ b/src/layout/header-aside/components/contextmenu/components/contentmenuList/index.vue @@ -21,24 +21,24 @@
{{title}}
{{value === '' ? '无数据' : value}}
{{stackBeautify(props.row.err)}}