@lancom/shared 0.0.146 → 0.0.147
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -136,7 +136,7 @@
|
|
|
136
136
|
Shipping Total: <b>{{ model.shippingTotal | price }}</b>
|
|
137
137
|
</div>
|
|
138
138
|
<div class="lc_regular16">
|
|
139
|
-
Total ex GST: <b>{{ model.total | price }}</b>
|
|
139
|
+
Total ex GST: <b>{{ (model.total + couponTotal) | price }}</b>
|
|
140
140
|
</div>
|
|
141
141
|
<div class="lc_regular16">
|
|
142
142
|
GST: <b>{{ model.totalGST - model.total | price }}</b>
|
package/package.json
CHANGED
package/plugins/vue-recaptcha.js
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import Vue from 'vue';
|
|
2
2
|
|
|
3
|
+
let interval = null;
|
|
4
|
+
|
|
3
5
|
export default () => {
|
|
4
6
|
Vue.mixin({
|
|
5
7
|
methods: {
|
|
@@ -9,7 +11,17 @@ export default () => {
|
|
|
9
11
|
},
|
|
10
12
|
async preloadReCaptcha() {
|
|
11
13
|
if (!this.$recaptcha) {
|
|
14
|
+
clearInterval(interval);
|
|
12
15
|
await this.loadReCaptcha();
|
|
16
|
+
await new Promise((resolve, reject) => {
|
|
17
|
+
interval = setInterval(() => {
|
|
18
|
+
console.log('check recaptcha...');
|
|
19
|
+
if (this.$recaptcha) {
|
|
20
|
+
clearInterval(interval);
|
|
21
|
+
resolve()
|
|
22
|
+
}
|
|
23
|
+
}, 100);
|
|
24
|
+
});
|
|
13
25
|
}
|
|
14
26
|
},
|
|
15
27
|
async loadReCaptcha() {
|