Browse Source

🕟 优化

master
wangxiang 3 years ago
parent
commit
f439397ba9
  1. 4
      kicc-ui/src/enums/exceptionEnum.ts
  2. 3
      kicc-ui/src/views/core/exception/Exception.vue

4
kicc-ui/src/enums/exceptionEnum.ts

@ -15,10 +15,10 @@ export enum ExceptionEnum {
// 错误 // 错误
ERROR = 500, ERROR = 500,
// 网络错误 // 前端Js错误
NET_WORK_ERROR = 10000, NET_WORK_ERROR = 10000,
// 页面上没有数据。其实也不是例外页面 // 无数据页面
PAGE_NOT_DATA = 10100, PAGE_NOT_DATA = 10100,
} }

3
kicc-ui/src/views/core/exception/Exception.vue

@ -28,17 +28,14 @@
type: Number as PropType<number>, type: Number as PropType<number>,
default: ExceptionEnum.PAGE_NOT_FOUND, default: ExceptionEnum.PAGE_NOT_FOUND,
}, },
title: { title: {
type: String as PropType<string>, type: String as PropType<string>,
default: '', default: '',
}, },
subTitle: { subTitle: {
type: String as PropType<string>, type: String as PropType<string>,
default: '', default: '',
}, },
full: { full: {
type: Boolean as PropType<boolean>, type: Boolean as PropType<boolean>,
default: false, default: false,

Loading…
Cancel
Save