|
|
|
@ -11,7 +11,7 @@ const WxStore = defineStore( |
|
|
|
initSign() { |
|
|
|
initSign() { |
|
|
|
const _this = this; |
|
|
|
const _this = this; |
|
|
|
return new Promise((resolve, reject) => { |
|
|
|
return new Promise((resolve, reject) => { |
|
|
|
const url = window.location.href; |
|
|
|
const url = window.location.href.split("?")[0]; |
|
|
|
wxSign(url).then((data) => { |
|
|
|
wxSign(url).then((data) => { |
|
|
|
wx.config({ |
|
|
|
wx.config({ |
|
|
|
// debug: true, // 开启调试模式
|
|
|
|
// debug: true, // 开启调试模式
|
|
|
|
|