jufubao-base 1.0.106-beta4 → 1.0.106-beta6
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
|
@@ -105,7 +105,7 @@ export default {
|
|
|
105
105
|
activity_id: "",
|
|
106
106
|
backgroundColor: "",
|
|
107
107
|
distribution_method: "homed", //触发事件
|
|
108
|
-
dispatchData:
|
|
108
|
+
dispatchData: "", //触发事件参数
|
|
109
109
|
|
|
110
110
|
couponList: [],
|
|
111
111
|
couponOther: {},
|
|
@@ -315,7 +315,13 @@ export default {
|
|
|
315
315
|
this.onJfbLoad(options);
|
|
316
316
|
},
|
|
317
317
|
handleToList() {
|
|
318
|
-
let otherParams =
|
|
318
|
+
let otherParams = "";
|
|
319
|
+
try {
|
|
320
|
+
if(this.dispatchData && this.$xdUniHelper.checkVarType(this.dispatchData) === 'object') {
|
|
321
|
+
otherParams = this.$xdUniHelper.jsonToParams(this.dispatchData);
|
|
322
|
+
}
|
|
323
|
+
} catch (error) {}
|
|
324
|
+
|
|
319
325
|
this.$xdUniHelper.navigateTo({
|
|
320
326
|
url: `${this.list_url}?activity_id=${this.activity_id}&distribution_method=${this.distribution_method}&${otherParams}`,
|
|
321
327
|
});
|