Commit 7f883aff authored by Facius's avatar Facius

refactor: 首页去掉冗余代码

parent e3271b1f
......@@ -255,12 +255,12 @@ export default {
]
},
},
watch: {
vuex_token(val, oldVal) {
// 监听token变化,如果更新则重新加载页面数据
val && !oldVal && this.initData()
},
},
// watch: {
// vuex_token(val, oldVal) {
// // 监听token变化,如果更新则重新加载页面数据
// val && !oldVal && this.initData()
// },
// },
onLoad() {
if (this.vuex_token) {
this.loading = true
......@@ -284,10 +284,10 @@ export default {
}
},
methods: {
initData() {
// this.getProvinceList()
this.queryMyQuestionWarehouseDetail('0')
},
// initData() {
// // this.getProvinceList()
// this.queryMyQuestionWarehouseDetail('0')
// },
// 检查是否具有体验资格
checkGetQuestion(id) {
this.$u.api
......
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