@@ -35,6 +35,9 @@ router.beforeEach((to, from, next) => {
// 全局路由后置守卫
router.afterEach((to, from) => {
console.log('后置守卫to------', to)
+ if(to.path!=='/pages/index/error'){
+
+ }
})
export {
@@ -91,7 +91,7 @@ export default {
setClipboardData(){
console.log(window.location)
uni.setClipboardData({
- data: window.origin+'/#/pages/index/index?inviteCode'+this.babAddress,
+ data: window.origin+'/#/pages/index/index?inviteCode='+this.babAddress,
success: function () {
console.log('success');
}