|
@@ -90,7 +90,7 @@
|
|
|
import { Toast } from 'vant'
|
|
|
import RoundTurntable from './component/roundTurntable.vue'
|
|
|
const RSA = require('../../../plugins/wx_rsa');
|
|
|
-const uni = require('../../../plugins/uni');
|
|
|
+const webUni = require('../../../plugins/uni');
|
|
|
export default {
|
|
|
name: 'Lottery',
|
|
|
auth: false,
|
|
@@ -213,7 +213,7 @@ export default {
|
|
|
} else {
|
|
|
console.log(511);
|
|
|
// 使用postMessage 方法可以发送消息到应用, 消息内容需要在data 对象中,否则webview无法接收到
|
|
|
- uni.postMessage({
|
|
|
+ webUni.postMessage({
|
|
|
data: {
|
|
|
payType: this.payType === 'aliPay' ? 3 : 2,
|
|
|
orderNum: res.data.myOrderNum,
|