jufubao-base 1.0.330 → 1.0.331-beta3
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.
package/package.json
CHANGED
|
@@ -159,12 +159,19 @@
|
|
|
159
159
|
data: {
|
|
160
160
|
exchange_code: exchange_code,
|
|
161
161
|
version: '1.5.1',
|
|
162
|
+
is_return_is_used: "Y",
|
|
162
163
|
...otherData
|
|
163
164
|
}
|
|
164
165
|
}).then(res => {
|
|
165
166
|
this.$xdHideLoading();
|
|
166
|
-
|
|
167
|
-
|
|
167
|
+
if(res.is_used === 'Y'){
|
|
168
|
+
this.$xdUniHelper.navigateTo({
|
|
169
|
+
url: "/main/zhrk/zhrk"
|
|
170
|
+
})
|
|
171
|
+
}else{
|
|
172
|
+
this.step = 2;
|
|
173
|
+
this.vipInfo = res;
|
|
174
|
+
}
|
|
168
175
|
resolve(res);
|
|
169
176
|
}).catch(e=>{
|
|
170
177
|
this.$xdHideLoading();
|
|
@@ -294,16 +294,22 @@
|
|
|
294
294
|
data: {
|
|
295
295
|
exchange_code: exchange_code,
|
|
296
296
|
version: '1.5.1',
|
|
297
|
+
is_return_is_used: "Y",
|
|
297
298
|
...otherData
|
|
298
299
|
}
|
|
299
300
|
}).then(res => {
|
|
300
301
|
this.$xdHideLoading();
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
302
|
+
if(res.is_used === 'Y'){
|
|
303
|
+
this.$xdUniHelper.navigateTo({
|
|
304
|
+
url: "/main/zhrk/zhrk"
|
|
305
|
+
})
|
|
306
|
+
}else{
|
|
307
|
+
this.vipInfo = res;
|
|
308
|
+
let codeType = otherData.code_type ? `&code_type=${otherData.code_type}` : '';
|
|
309
|
+
this.$xdUniHelper.navigateTo({
|
|
310
|
+
url: this.exchangeCodePath + `?ecode=${exchange_code}${codeType}`
|
|
311
|
+
})
|
|
312
|
+
}
|
|
307
313
|
resolve(res);
|
|
308
314
|
}).catch(e=>{
|
|
309
315
|
this.$xdHideLoading();
|