Commit ecba0777 by 姜雷

Merge branch 'develop' into 'test'

每次进入都请求全部用户数据 See merge request !159
parents cefd6d19 5c3ecfe5
...@@ -6,9 +6,7 @@ export default { ...@@ -6,9 +6,7 @@ export default {
store.install(this.$store); store.install(this.$store);
}, },
mounted() { mounted() {
if (!this.AdminList.length) {
this.fetchAdminList(); this.fetchAdminList();
}
}, },
computed: { computed: {
...mapGetters('admins', ['AdminList']), ...mapGetters('admins', ['AdminList']),
......
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