Commit bb860909 by Tang

feat: 修改定制服务接口

parent 91514e48
......@@ -1044,13 +1044,15 @@ export default {
},
async getCustomServiceFromServer() {
// 判断是否登录
if(localStorage.getItem('loginInfo')){
const searchGlnRes = await this.$api.home.customService();
const { returnCode, data } = searchGlnRes;
if (returnCode === "0") {
localStorage.setItem("gs-custom-service", JSON.stringify(data));
this.showCustomService(data);
}
}
},
showCustomService(list) {
......
......@@ -130,7 +130,7 @@ export default {
this.$message.error('查询值只能包含中英文字符和数字!');
return true;
}
return true
return false
},
async handleSearch() {
this.searchCodeShow = this.search.code;
......
......@@ -27,7 +27,7 @@ export default {
this.$message.error('查询值只能包含中英文字符和数字!');
return true;
}
return true
return false
}
},
}
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