Commit e0e0f649 authored by Facius's avatar Facius

improvement: 首页只在onload时loading=true

parent dc09eed8
{ {
"name" : "", "name" : "模考大师",
"appid" : "", "appid" : "",
"description" : "", "description" : "",
"versionName" : "1.0.0", "versionName" : "1.0.0",
......
...@@ -246,6 +246,7 @@ export default { ...@@ -246,6 +246,7 @@ export default {
}, },
}, },
onLoad() { onLoad() {
this.loading = true
this.getProvinceList() this.getProvinceList()
}, },
onShow() { onShow() {
...@@ -301,7 +302,6 @@ export default { ...@@ -301,7 +302,6 @@ export default {
}, },
// 学生查询题库首页 // 学生查询题库首页
queryMyQuestionWarehouseDetail(id) { queryMyQuestionWarehouseDetail(id) {
this.loading = true
this.$u.api this.$u.api
.queryMyQuestionWarehouseDetail(id) .queryMyQuestionWarehouseDetail(id)
.then((res) => { .then((res) => {
......
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