web/src/views/layout/main.vue
@@ -88,10 +88,11 @@ }, methods: { async kwReplacement() { let res = await this.$http.get(`/sys/keyword/replacement`) let res = await this.$http.get(`sys/dict/type/getDictMap`,{params:{dictType:"key_word"}}) if (res.data != null) { this.$store.state.word = res.data } console.log(this.$store.state.word,'this.$store.state.word') }, goSingleSign() { let username = this.$route.query.username