Commit fa2fa877 by yangzhi

跳转

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