Commit eeefc23f authored by yyh's avatar yyh

代码检查处理

parent 49558258
......@@ -37,7 +37,7 @@ export default class ProofItem extends Vue {
}
get statusStr() {
let {status} = this.proof;
const { status } = this.proof;
return {
text: ChainStatusStr[status],
class: classEnum[status],
......
......@@ -6,7 +6,7 @@ import axios from 'axios';
import router from '../router';
import store from '../store/index';
import { Toast } from 'vant';
let pendingAjax: any = [];
const pendingAjax: any = [];
const fastClickMsg = '数据请求中,请稍后';
const CancelToken = axios.CancelToken;
const removePendingAjax = (config: any, c?: any) => {
......
......@@ -92,7 +92,7 @@ export default class ProofDetail extends Vue {
key: '存证名称',
label: '存证名称',
};
let detail = [this.detail, nameType];
const detail = [this.detail, nameType];
if (this.id) {
await this.$api.proof.update(this.id, this.name, detail);
} else {
......
......@@ -14,7 +14,7 @@
@load="getList"
>
<van-empty
v-if="!list.length"
v-if="!list.length && !loading"
description="您还未添加存证"
:image="require('@/assets/empty.png')">
<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