|
|
@@ -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() {
|