|
@@ -379,6 +379,7 @@ export default {
|
|
|
item.prizeList.forEach((ele) => {
|
|
|
(ele.picUrl = publicFileGetUrl + ele.picUrl.split(',')[0]),
|
|
|
(ele.prizeType = JSON.parse(ele.prizeType).value);
|
|
|
+ ele.couponDetail = ele.couponDetail ? encodeURI(ele.couponDetail) : ''
|
|
|
});
|
|
|
});
|
|
|
this.$nextTick(() => {
|
|
@@ -526,8 +527,7 @@ export default {
|
|
|
background: "rgba(0, 0, 0, 0.4)",
|
|
|
});
|
|
|
|
|
|
- request(data)
|
|
|
- .then((res) => {
|
|
|
+ request(data).then((res) => {
|
|
|
loading.close();
|
|
|
if (res.code == 0) {
|
|
|
this.msgSuccess("保存成功");
|