Commit eeefc23f authored by yyh's avatar yyh

代码检查处理

parent 49558258
...@@ -37,7 +37,7 @@ export default class ProofItem extends Vue { ...@@ -37,7 +37,7 @@ export default class ProofItem extends Vue {
} }
get statusStr() { get statusStr() {
let {status} = this.proof; const { status } = this.proof;
return { return {
text: ChainStatusStr[status], text: ChainStatusStr[status],
class: classEnum[status], class: classEnum[status],
......
...@@ -6,7 +6,7 @@ import axios from 'axios'; ...@@ -6,7 +6,7 @@ import axios from 'axios';
import router from '../router'; import router from '../router';
import store from '../store/index'; import store from '../store/index';
import { Toast } from 'vant'; import { Toast } from 'vant';
let pendingAjax: any = []; const pendingAjax: any = [];
const fastClickMsg = '数据请求中,请稍后'; const fastClickMsg = '数据请求中,请稍后';
const CancelToken = axios.CancelToken; const CancelToken = axios.CancelToken;
const removePendingAjax = (config: any, c?: any) => { const removePendingAjax = (config: any, c?: any) => {
......
...@@ -92,7 +92,7 @@ export default class ProofDetail extends Vue { ...@@ -92,7 +92,7 @@ export default class ProofDetail extends Vue {
key: '存证名称', key: '存证名称',
label: '存证名称', label: '存证名称',
}; };
let detail = [this.detail, nameType]; const detail = [this.detail, nameType];
if (this.id) { if (this.id) {
await this.$api.proof.update(this.id, this.name, detail); await this.$api.proof.update(this.id, this.name, detail);
} else { } else {
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
@load="getList" @load="getList"
> >
<van-empty <van-empty
v-if="!list.length" v-if="!list.length && !loading"
description="您还未添加存证" description="您还未添加存证"
:image="require('@/assets/empty.png')"> :image="require('@/assets/empty.png')">
<van-button <van-button
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment