diff --git a/src/pages/account/login/index.vue b/src/pages/account/login/index.vue index d42da04..60a5ad8 100644 --- a/src/pages/account/login/index.vue +++ b/src/pages/account/login/index.vue @@ -207,18 +207,12 @@ export default { }, // 获取学校列表 getSchool() { - // const schoolList = util.local.get('schoolList') - // if (schoolList && schoolList.length) { - // this.setSchool(schoolList) - // } else { - this.$get(this.api.querySchool, { - provinceId: '', - cityId: '' - }).then(({ list }) => { - this.setSchool(list) - // util.local.set('schoolList', list) - }).catch(res => {}) - // } + this.$get(this.api.querySchool, { + provinceId: '', + cityId: '' + }).then(({ list }) => { + this.setSchool(list) + }).catch(res => {}) }, // 切换标签 typeClick(tab) { diff --git a/src/pages/index/list/index.vue b/src/pages/index/list/index.vue index 0ab609d..1df0e1e 100644 --- a/src/pages/index/list/index.vue +++ b/src/pages/index/list/index.vue @@ -1,5 +1,5 @@