소스 검색

fix: 结构化数据留资未登录处理

yangfeng 4 년 전
부모
커밋
6ea6405f05
1개의 변경된 파일4개의 추가작업 그리고 0개의 파일을 삭제
  1. 4 0
      src/web/staticres/common-module/pc-dialog/js/leave-info-dialog.js

+ 4 - 0
src/web/staticres/common-module/pc-dialog/js/leave-info-dialog.js

@@ -395,6 +395,10 @@ var vm = new Vue({
     },
     // 是否留资
     isNeedSubmit: function(source, callback, dom) {
+      if (!loginflag) {
+        openLoginDig()
+        return
+      }
       this.source = source
       this.logAjax(source)
       var _this = this