diff --git a/src/views/authenticRight/index.vue b/src/views/authenticRight/index.vue index c17f50ad..35344a0f 100644 --- a/src/views/authenticRight/index.vue +++ b/src/views/authenticRight/index.vue @@ -113,7 +113,7 @@ :rules="[{ required: true, message: '请填写被核查人姓名' }]" > @@ -638,6 +638,15 @@ }, methods:{ + onOversize(){ + this.$toast({ + icon: 'error', // 找到自己需要的图标 + message: '文件大小超过4MB,上传失败', + duration:"1000", + onClose:function(){ + } + }) + }, afterRead(file) { const data = new FormData(); data.append("file", this.fileList[0].file);