1
0

2 Коммиты e86e0d2096 ... 9ae4bc2be1

Автор SHA1 Сообщение Дата
  wangguoyu 9ae4bc2be1 Merge remote-tracking branch 'origin/2025北京诚祥App' into 2025北京诚祥App 2 дней назад
  wangguoyu 92cf592e5f 11 2 дней назад
2 измененных файлов с 10 добавлено и 13 удалено
  1. 1 1
      manifest.json
  2. 9 12
      pages/admin/Hetong/sanfangHetong.vue

+ 1 - 1
manifest.json

@@ -99,7 +99,7 @@
                 "share" : {
                     "weixin" : {
                         "appid" : "wx1462df3ea62c7c6e",
-                        "UniversalLinks" : "https://cdnks.mtavip.com/mdist/#/login/"
+                        "UniversalLinks" : "https://kf1.mtavip.com/"
                     }
                 }
             },

+ 9 - 12
pages/admin/Hetong/sanfangHetong.vue

@@ -122,6 +122,7 @@
 	import searchDialog from "./components/search.vue";
 	import customTabbarAdminVue from "@/components/custom-tabbar/custom-tabbar-admin.vue";
 	import commonDialog from '@/components/dialog/commonDialog.vue';
+		import {toast} from "@/utils/common";
 	import {
 		getSanfangDelete
 	} from "../../../api/sanfang";
@@ -177,17 +178,6 @@
 	}
 
 	function tuisong(data){
-		
-		if (!plus.runtime.isApplicationExist({
-				pname: 'com.tencent.mm'
-			})) {
-			uni.showToast({
-				title: '请先安装微信',
-				icon: 'none'
-			});
-			return;
-		}
-		
 		// 分享到小程序  我想加个参数  
 		uni.share({
 		    provider: 'weixin',
@@ -203,7 +193,14 @@
 		    },
 		    success: ret => {
 		        console.log(JSON.stringify(ret));
-		    }
+		    },
+			fail:(error) =>{
+				console.log('error',error);
+				// uni.showToast({
+				// 	title: error.errMsg
+				// })
+				toast(error.errMsg)
+			}
 		});
 	}
 	function goUpPage() {