small-program/App.vue
@@ -4,7 +4,7 @@ computed: { ...mapState(['userInfo','openid']) }, onLaunch: function() { onLaunch: function() { var that = this; if (!this.openid || this.openid =='') { uni.login({ @@ -76,4 +76,9 @@ <style lang="scss"> @import "uview-ui/index.scss"; .toast-custom { width: 500px !important; font-size: 14px !important; } </style>