src/views/security/security.vue
@@ -222,6 +222,14 @@ return ids.join(","); } }, created(){ const tokenLength = window.location.href.indexOf('='); if(tokenLength>0){ //取“=”之后的token let z = window.location.href.substring(tokenLength + 1) this.$store.commit('SET_TOKEN', z); } }, methods: { rowSave(row, done, loading) { add(row).then(() => {