Commit 5c3ecfe5 by 姜雷

每次进入都请求全部用户数据

parent 15dc881d
...@@ -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