Commit 10e3d790 authored by Facius's avatar Facius

分享功能

parent 39532b13
......@@ -3,6 +3,8 @@ import App from './App'
import uView from "uview-ui";
Vue.use(uView);
let mpShare = require('uview-ui/libs/mixin/mpShare.js');
Vue.mixin(mpShare)
Vue.config.productionTip = false
......
......@@ -73,7 +73,7 @@
onShareAppMessage(res) {
let shareObj = {
title: '',
path: '/pages/photo/product',
path: '/pages/photo/index',
imageUrl: '',
success() {},
fail() {}
......
......@@ -127,7 +127,16 @@
}
}
},
onShareAppMessage(res) {
let shareObj = {
title: '',
path: '/pages/photo/index',
imageUrl: '',
success() {},
fail() {}
}
return shareObj
},
methods: {
getListData: function() {
this.loading = true
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment