Commit 57c27763 by tang

feat: 境外码查询无结果逻辑修改

parent 1b10f6a2
......@@ -102,7 +102,11 @@ export default {
const searchGlnRes = await this.$api.search.searchGln(params);
const { returnCode, data } = searchGlnRes;
if (returnCode === "0") {
this.result = [data];
if (data.returnCode === '0') {
this.result = [data];
} else {
this.errorMsg = "暂无数据";
}
} else {
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