@@ -56,6 +56,8 @@ export default {
},
onLoad(options) {
this.id = options.id
+ },
+ mounted() {
this.getData()
methods: {
@@ -52,7 +52,7 @@ export default {
computed: {
...mapState(['userInfo', 'isLogin', 'userId'])
- onLoad() {