Commit eebaf73d authored by wildfirecode13's avatar wildfirecode13

1

parent 419adba5
......@@ -5,6 +5,7 @@
"scripts": {
"dev": "spark dev --type h5",
"prod": "spark build --type h5 --env prod",
"build": "spark build --type h5 --env dev",
"tb": "spark build --type taobao"
},
"dependencies": {
......
......@@ -10,6 +10,8 @@
<script id="scriptjs" src="//yun.duiba.com.cn/js-libs/px-token/0.0.4/px-token.min.js"></script> -->
<script src="//yun.duiba.com.cn/js-libs/rem/1.1.0/rem.min.js"></script>
<script src="//yun.duiba.com.cn/h5/lib/zepto.min.js"></script>
<script src="https://res.wx.qq.com/open/js/jweixin-1.3.2.js"></script>
<script>
window.url = 'https://baidu.com';
......
......@@ -10,6 +10,9 @@ import Share from "./pages/share/share.jsx";
import {Weixin,start,updateShare} from '@spark/share'
Weixin.debugMode = true;
start([Weixin], (success)=>{
//分享结果回调, success为是否成功
});
......
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