提交 84c7b6e7 authored 作者: haodaking's avatar haodaking

bug fixes

上级 48bc69a8
......@@ -101,9 +101,11 @@ const store = new Vuex.Store({
return isLogin
},
getApp({ commit, state }, appid) {
getApp(appid || state.appid).then(res => {
commit('setApp', res.data)
})
appid = appid || state.appid
appid &&
getApp(appid).then(res => {
commit('setApp', res.data)
})
}
}
})
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论