This commit is contained in:
caoqianming 2023-08-31 14:51:05 +08:00
commit 7b38bea67f
1 changed files with 3 additions and 0 deletions

View File

@ -245,10 +245,13 @@ user-scalable: 用户是否能缩放页面 -->
that.dataList = []; that.dataList = [];
this.type = index; this.type = index;
that.showImg = false; that.showImg = false;
that.imgSrc = '';
}, },
searchClick(type){ searchClick(type){
let that = this; let that = this;
that.dataList = []; that.dataList = [];
that.showImg = false;
that.imgSrc = '';
if(that.type==0){ if(that.type==0){
if(that.form.number!==''){ if(that.form.number!==''){
axios.get('https://testsearch.ctc.ac.cn/api/edu/certificate/',{params:{证书编号:that.form.number}}) axios.get('https://testsearch.ctc.ac.cn/api/edu/certificate/',{params:{证书编号:that.form.number}})