|
@@ -265,7 +265,7 @@
|
|
|
|
|
|
|
|
const isLt1M = picavalue.size / 1024 / 1024 < 0.5;
|
|
const isLt1M = picavalue.size / 1024 / 1024 < 0.5;
|
|
|
if (!isLt1M) {
|
|
if (!isLt1M) {
|
|
|
- this.$dialog.toast({mes: '当前没有你要的内容,请发起留言', timeout: 1500});
|
|
|
|
|
|
|
+ this.$dialog.toast({mes: '上传的图片不能大于0.5MB', timeout: 1500});
|
|
|
return
|
|
return
|
|
|
}
|
|
}
|
|
|
const isJPG = picavalue.type == 'image/jpeg' || 'image/jpg' || 'image/png' || 'image/svg';
|
|
const isJPG = picavalue.type == 'image/jpeg' || 'image/jpg' || 'image/png' || 'image/svg';
|
|
@@ -396,10 +396,10 @@
|
|
|
serchClick() {
|
|
serchClick() {
|
|
|
// 如果输入框的值存在就调用接口
|
|
// 如果输入框的值存在就调用接口
|
|
|
if (this.serchInputValue.length > 0) {
|
|
if (this.serchInputValue.length > 0) {
|
|
|
- this.getAjax()
|
|
|
|
|
|
|
+ this.getAjax(1)
|
|
|
} else {
|
|
} else {
|
|
|
this.serchInputValue = '';
|
|
this.serchInputValue = '';
|
|
|
- this.getAjax()
|
|
|
|
|
|
|
+ this.getAjax(1)
|
|
|
this.$dialog.toast({mes: '请输入关键词再搜索', timeout: 1500});
|
|
this.$dialog.toast({mes: '请输入关键词再搜索', timeout: 1500});
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|