|
@@ -1,5 +1,6 @@
|
|
<script>
|
|
<script>
|
|
const config = require('./static/config.js');
|
|
const config = require('./static/config.js');
|
|
|
|
+
|
|
export default {
|
|
export default {
|
|
onLaunch: function() {
|
|
onLaunch: function() {
|
|
let href = location.href;
|
|
let href = location.href;
|
|
@@ -68,6 +69,7 @@
|
|
}
|
|
}
|
|
},
|
|
},
|
|
async signJsapiTicket(){
|
|
async signJsapiTicket(){
|
|
|
|
+ const wx = require('weixin-js-sdk');
|
|
let url = location.href.split('#')[0]
|
|
let url = location.href.split('#')[0]
|
|
let parmas = {
|
|
let parmas = {
|
|
url: url,
|
|
url: url,
|