Browse Source

[edit][convertUrl]

zhangwei 2 years ago
parent
commit
818ad736bb
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/view/content/tool_box/index.vue

+ 2 - 2
src/view/content/tool_box/index.vue

@@ -145,7 +145,7 @@ const getDetail = () => {
             console.log('postBizData', state.detail)
             // 加载iframe
             let iframe = dom_iframe.value
-            // state.detail.originUrl = 'https://www.bilibili.com'
+            // state.detail.convertUrl = 'https://www.bilibili.com'
             iframe.onerror = () => {
                 state.status = '网页错误'
             }
@@ -155,7 +155,7 @@ const getDetail = () => {
                 }
             }
             setTimeout(() => {
-                state.iframe_url = state.detail.originUrl
+                state.iframe_url = state.detail.convertUrl
             }, 1000)
         } else {
             state.status = ''