|  | @@ -64,39 +64,27 @@ class CustomerProfile extends Component {
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |    componentDidMount() {
 | 
	
		
			
				|  |  |      this.queryByUidAll();
 | 
	
		
			
				|  |  | +    if (!this.isLogin()) {
 | 
	
		
			
				|  |  | +      Taro.setStorageSync('currentPage', `/pages/customerProfile/index?id=${this.$instance.router.params.id}&signBills=${this.$instance.router.params.signBills}`)
 | 
	
		
			
				|  |  | +    }
 | 
	
		
			
				|  |  |    }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |    componentDidShow() {
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |    }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | +  isLogin() {
 | 
	
		
			
				|  |  | +    return !!Taro.getStorageSync('userInfor');
 | 
	
		
			
				|  |  | +  }
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  |    onShareAppMessage() {
 | 
	
		
			
				|  |  |      this.limitUser();
 | 
	
		
			
				|  |  |      return {
 | 
	
		
			
				|  |  |        title: "客户档案",
 | 
	
		
			
				|  |  | -      path: "pages/customerProfile/index?id=" + this.$instance.router.params.id + "&signBills=" + this.$instance.router.params.signBills,
 | 
	
		
			
				|  |  | +      path: "/pages/customerProfile/index?id=" + this.$instance.router.params.id + "&signBills=" + this.$instance.router.params.signBills,
 | 
	
		
			
				|  |  |      };
 | 
	
		
			
				|  |  |    }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | -  // onShareAppMessage() {
 | 
	
		
			
				|  |  | -  //   this.limitUser();
 | 
	
		
			
				|  |  | -  //   if (!this.isLogin()) {
 | 
	
		
			
				|  |  | -  //     return {
 | 
	
		
			
				|  |  | -  //       title: '登录',
 | 
	
		
			
				|  |  | -  //       path: '/pages/login/index', // 登录页面的路径
 | 
	
		
			
				|  |  | -  //     }
 | 
	
		
			
				|  |  | -  //   } else {
 | 
	
		
			
				|  |  | -  //     return {
 | 
	
		
			
				|  |  | -  //       title: '客户档案',
 | 
	
		
			
				|  |  | -  //       path: "pages/customerProfile/index?id=" + this.$instance.router.params.id + "&signBills=" + this.$instance.router.params.signBills + "&scene=1007", // 假设的分享路径
 | 
	
		
			
				|  |  | -  //     }
 | 
	
		
			
				|  |  | -  //   }
 | 
	
		
			
				|  |  | -  // }
 | 
	
		
			
				|  |  | -
 | 
	
		
			
				|  |  | -  isLogin() {
 | 
	
		
			
				|  |  | -    return !!Taro.getStorageSync('userInfor');
 | 
	
		
			
				|  |  | -  }
 | 
	
		
			
				|  |  | -
 | 
	
		
			
				|  |  |    // 客户档案详情
 | 
	
		
			
				|  |  |    queryByUidAll() {
 | 
	
		
			
				|  |  |      queryByUidAll({
 |