Browse Source

no message

linwenxin 3 tháng trước cách đây
mục cha
commit
c290e87b27
2 tập tin đã thay đổi với 6 bổ sung6 xóa
  1. 1 1
      src/common/utils/navPag.js
  2. 5 5
      src/pages/index/index.vue

+ 1 - 1
src/common/utils/navPag.js

@@ -35,7 +35,7 @@ export const navToPage = (function () {
       return
     }
 
-    if (url && userinfo.isFsSign && !['/pages/repairConfirmation'].find(item => !!~url.indexOf(item))) {
+    if (url && userinfo.isFSSign && !['/pages/repairConfirmation'].find(item => !!~url.indexOf(item))) {
       uni.showModal({
         title: '温馨提示',
         content: '您未签署确认书!',

+ 5 - 5
src/pages/index/index.vue

@@ -453,7 +453,7 @@ export default {
       if (this.isLogin) {
         try {
           this.userInfo = await this.$getUserInfo()
-          if (!this.userInfo.isGZSign && !this.userInfo.isFsSign) {
+          if (!this.userInfo.isGZSign && !this.userInfo.isFSSign) {
             this.isShowMaintenance = await this.checkMaintenance()
             this.getCategoryList()
             this.getServiceList()
@@ -475,7 +475,7 @@ export default {
                   }
                 }
               })
-            } else if (this.userInfo.isFsSign) {
+            } else if (this.userInfo.isFSSign) {
               uni.showModal({
                 title: '温馨提示',
                 content: '您未签署确认书!',
@@ -559,7 +559,7 @@ export default {
 
     try {
       this.userInfo = await this.$getUserInfo()
-      if (!this.userInfo.isGZSign && !this.userInfo.isFsSign) {
+      if (!this.userInfo.isGZSign && !this.userInfo.isFSSign) {
         // 点击短信链接进入小程序
         if (smsServiceId) {
           this.bindUser(smsServiceId)
@@ -744,7 +744,7 @@ export default {
       try {
         if (this.isLogin) {
           this.userInfo = await this.$getUserInfo()
-          if (!this.userInfo.isGZSign && !this.userInfo.isFsSign) {
+          if (!this.userInfo.isGZSign && !this.userInfo.isFSSign) {
             this.getCategoryList()
             this.getServiceList()
             this.getCouponList()
@@ -754,7 +754,7 @@ export default {
         } else {
           await this.wxLogin()
           this.userInfo = await this.$getUserInfo()
-          if (!this.userInfo.isGZSign && !this.userInfo.isFsSign) {
+          if (!this.userInfo.isGZSign && !this.userInfo.isFSSign) {
             this.getCategoryList()
             this.getServiceList()
             this.getCouponList()