This commit is contained in:
huangjinming 2022-11-17 00:13:13 +08:00
parent a6f4b81587
commit dc13c05d22

View File

@ -196,12 +196,7 @@ export default {
}; };
}, },
created() { created() {
<<<<<<< HEAD
this.loadLocalData();
if (!this.account) {
=======
if (!this.$store.state.account) { if (!this.$store.state.account) {
>>>>>>> 143601a9eaaf179ba4addf3ef9f3f4ab6b329dab
return; return;
} }
this.$axios this.$axios
@ -238,7 +233,6 @@ export default {
}, 500); }, 500);
}, },
methods: { methods: {
<<<<<<< HEAD
loadLocalData() { loadLocalData() {
let userInfo = localStorage.getItem("userinfo"); let userInfo = localStorage.getItem("userinfo");
if (userInfo) { if (userInfo) {
@ -248,8 +242,6 @@ export default {
} catch (err) {} } catch (err) {}
} }
}, },
=======
>>>>>>> 143601a9eaaf179ba4addf3ef9f3f4ab6b329dab
navigator() { navigator() {
this.$router.push("listdetails"); this.$router.push("listdetails");
}, },