Просмотр исходного кода

Merge branch 'feature/v4.8.39' into dev/v4.8.39_zsy

zhangsiya 2 лет назад
Родитель
Сommit
97cf896ddc
1 измененных файлов с 3 добавлено и 3 удалено
  1. 3 3
      src/web/templates/common/BidrenewalDialog.html

+ 3 - 3
src/web/templates/common/BidrenewalDialog.html

@@ -40,10 +40,10 @@
           iframeElement.contentWindow.$BidrenewalDialog.iframSendid(val)
         }
       },
-      init () { // 注册方法供子页面调用
+      init () { 
         const this_ = this;
         window.$BidrenewalDialog = {};
-        window.$BidrenewalDialog.open = function () {
+        window.$BidrenewalDialog.open = function () { // 打开弹窗
           this_.showNewuserDialog = true
           this_.afterOpen()
           const iframeElement = this_.$refs.myIframe
@@ -54,6 +54,7 @@
             iframeElement.contentWindow.$BidrenewalDialog.refreshData()
           }
         }
+        // 注册方法供子页面调用
         window.$BidrenewalDialog.close = function () {
           this_.beforeClose()
           this_.showNewuserDialog = false
@@ -68,7 +69,6 @@
         document.body.style.width = '100%'
         document.body.style.top = -this._scrollTop + 'px'
       },
-
       // popup 关闭时调用
       beforeClose () {
         document.body.style.position = ''