|
@@ -111,7 +111,13 @@ export class Interceptors {
|
|
|
},
|
|
|
{ default: () => '错误日志' },
|
|
|
),
|
|
|
- h('div', { class: 'mt-2' }, res.data.data),
|
|
|
+ h(
|
|
|
+ 'div',
|
|
|
+ { class: 'mt-2' },
|
|
|
+ typeof res.data.data === 'string'
|
|
|
+ ? res.data.data
|
|
|
+ : JSON.stringify(res.data.data),
|
|
|
+ ),
|
|
|
]),
|
|
|
type: 'error',
|
|
|
duration: 0,
|