Commit 063fcfcf by tang

feat: 两次查询验证码不报错

parent b07359d9
......@@ -405,6 +405,7 @@ export default {
this.pagination.totalPage = Math.floor(data.hits.hits.length / this.pagination.pageSize) + 1;
this.handlePageChange(1);
} else {
this.currentData = null
this.errorMsg =
searchGlnRes.returnMsg ||
"没有符合条件的记录!";
......
......@@ -130,6 +130,7 @@ export default {
methods: {
async handleSearchCompany() {
this.showResult = true;
const params = {
shortCode: "",
firmName: "",
......@@ -145,6 +146,7 @@ export default {
params.registerAddress = this.companySearch.address;
}
const searchGlnRes = await this.$api.search.searchGetList(params);
console.log(searchGlnRes)
const {returnCode, data} = searchGlnRes;
if (returnCode === "0") {
// this.result = data;
......@@ -153,6 +155,7 @@ export default {
this.pagination.totalPage = Math.floor(data.length / this.pagination.pageSize) + 1;
this.handlePageChange(1);
} else {
this.currentData = null
this.errorMsg =
searchGlnRes.returnMsg ||
"没有符合条件的记录!";
......
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