Commit fa2fa877 by yangzhi

跳转

parent 4d643455
......@@ -77,19 +77,18 @@
</template>
<script>
import {mapState} from 'vuex'
// import {mapState} from 'vuex'
export default {
name: 'contact',
components: {},
data() {
return {}
return {
userInfo:JSON.parse(localStorage.getItem('userInfo'))
}
},
computed: {
...mapState(['userInfo']),
},
mounted() {
console.log(this.userInfo,123)
// ...mapState(['userInfo']),
},
methods: {
goBack() {
......
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