Commit 3e58955b authored by youjie's avatar youjie

no message

parent e3f3bc73
......@@ -26,7 +26,7 @@
background: #ffffff;
z-index: 3;
position: relative;
margin-top: 100px;
margin-top: 150px;
border-radius: 15px;
}
.examList-popup-closure{
......@@ -97,7 +97,7 @@
:show-file-list="false"
:disabled="show"
>
<q-btn color="accent" icon="cloud_upload" label="选择文件"></q-btn>
<q-btn color="accent" icon="cloud_upload" label="选择文件" :disabled="show"></q-btn>
</el-upload>
</div>
</div>
......@@ -125,6 +125,19 @@
}
};
},
watch: {
uploadParm: {
immediate: true,
handler(val) {
if (val) {
if(!val.ExamName){
this.Error('请输入考试名称');
}
}
},
deep: true
}
},
created() {
},
......@@ -136,12 +149,9 @@
},
methods: {
uploadFile(files) {//文件上传
if(!this.uploadParm.ExamName){
uni.showToast({
title:'请输入考试名称',
icon:'none',
duration: 500
})
this.Error('请输入考试名称');
return
}
this.show = true
......
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