diff --git a/package.json b/package.json index 0c21cd6..78d9c4c 100644 --- a/package.json +++ b/package.json @@ -51,7 +51,7 @@ "@better-scroll/core": "2.5.1", "@elysiajs/eden": "^1.4.5", "@iconify/vue": "5.0.0", - "@riwa/api-types": "http://192.168.1.2:9538/api/capp-eden-0.0.23.tgz", + "@riwa/api-types": "http://192.168.1.2:9538/api/capp-eden-0.0.27.tgz", "@sa/axios": "workspace:*", "@sa/color": "workspace:*", "@sa/hooks": "workspace:*", diff --git a/src/views/kyc/index.vue b/src/views/kyc/index.vue index 56ab7a8..bc85a1f 100644 --- a/src/views/kyc/index.vue +++ b/src/views/kyc/index.vue @@ -10,7 +10,7 @@ defineOptions({ }); enum WithdrawStatus { - unverified = '未审核', + unverified = '未实名', pending = '审核中', approved = '已通过', rejected = '已拒绝' @@ -41,14 +41,14 @@ const columns: TableBaseColumns = [ key: 'fileId1', title: '证件照片正面', render: (row: any) => { - return h(NImage, { src: row.fileId1, width: 100 }); + return row.fileId1 ? h(NImage, { src: row.fileId1, width: 100 }) : '无'; } }, { key: 'fileId2', title: '证件照片背面', render: (row: any) => { - return h(NImage, { src: row.fileId2, width: 100 }); + return row.fileId2 ? h(NImage, { src: row.fileId2, width: 100 }) : '无'; } }, {