Browse Source

留资弹框判断

wenmenghao 3 years ago
parent
commit
3341e62da5

+ 1 - 1
src/web/staticres/js/pc-collect-user-info.js

@@ -579,7 +579,7 @@ var vm = new Vue({
         },
         success:function (res) {
           // 判断当前信息否在其他页面留资  如果全部留资 直接弹窗提交成功
-          if(type=='free-download'){
+          if(type=='freeDownload'){
             var checkKeys = ['name', 'phone','companyType', 'company', 'branch', 'position']
           }else{
             var checkKeys = ['name', 'phone','companyType', 'company', 'branch', 'position']

+ 1 - 1
src/web/staticres/public-pc/js/article-content.js

@@ -2526,7 +2526,7 @@ $(function() {
     // vm.noCallApiFn('article_attach_freeuser', true)
     vm.isNeedSubmit('article_attach_freeuser', function() {
       vm.showSuccess = true
-    },null,null,'free-download')
+    },null,null,'freeDownload')
   })
   // 控制正文下table里没有内容 但有标签时取消其样式
   $('.com-detail table').each(function(){