Browse Source

fix: 详情页弹窗调试

Signed-off-by: tangshizhe <48740614+tangshizhe@users.noreply.github.com>
tangshizhe 3 months ago
parent
commit
040d6a9886

+ 2 - 0
apps/mobile/src/views/create-order/components/creditreport/ProductionCard.vue

@@ -89,6 +89,7 @@ import { Field, Form } from 'vant'
 import { debounce } from '@/utils/utils'
 import { mixinHeader } from '@/utils/mixins/header'
 import { openAppOrWxPage } from '@/utils'
+import { appCallOpenWindow } from '@/utils/callFn/appFn'
 import { creditReportEntSearch, creditReportTime } from '@/api/modules/'
 import orderActivityHelper from '@/utils/mixins/modules/order-activity-helper'
 
@@ -136,6 +137,7 @@ export default {
     if (buyer) {
       this.info.buyer = buyer
     }
+    appCallOpenWindow('https://www.baidu.com', '测试链接')
   },
   mounted() {
     this.updatePayAmount()

+ 0 - 2
plugins/bind-phone-mobile/src/utils/appFn.js

@@ -29,8 +29,6 @@ export function appCallCopyText(text) {
  * @param title 窗口标题
  */
 export function appCallOpenWindow(link, title = '剑鱼标讯') {
-  if (!link)
-    return
   try {
     JyObj.openExternalLink(link, title)
   }