Explorar el Código

三级页修改

tsz hace 3 años
padre
commit
c6c1fe01c5

+ 2 - 0
src/jfw/modules/app/src/web/staticres/jyapp/js/common.js

@@ -1358,6 +1358,8 @@ function appQuit (isKicked) {
     data: { isKicked: isKicked, sign: sign },
     dataType: "json",
     success: function (r) {
+      // 退出登录清除首页商机管理权限缓存
+      sessionStorage.removeItem("setEntStatus")
       if (!isKicked) {
         window.location.href = "/jyapp/free/login?back=index&flag=quit";
       }

+ 1 - 1
src/jfw/modules/app/src/web/templates/weixin/wxinfocontent.html

@@ -1181,7 +1181,7 @@
               if(res.data.isNew) {
                 $('.commonUser').hide()
                 $('.entnicheUser').show()
-                if({{.T.obj.buyer}} == '') {
+                if(!{{.T.obj.buyer}}) {
                   $('.entnicheUser .sum_right').hide()
                 }
                 getActionState ({{.T.obj.buyer}}, 'g')