|
@@ -251,7 +251,6 @@ export default {
|
|
let expire_config = { fixed: data.time, days: data.days }; //失效配置
|
|
let expire_config = { fixed: data.time, days: data.days }; //失效配置
|
|
data = { ...data, discount_config, use_limit_config, get_limit_config, expire_config };
|
|
data = { ...data, discount_config, use_limit_config, get_limit_config, expire_config };
|
|
let res;
|
|
let res;
|
|
- console.log(data);
|
|
|
|
if (data._id) res = await this.update(data);
|
|
if (data._id) res = await this.update(data);
|
|
else res = await this.create(data);
|
|
else res = await this.create(data);
|
|
if (this.$checkRes(res, '维护信息成功', `${res.errmsg}`)) this.toBack();
|
|
if (this.$checkRes(res, '维护信息成功', `${res.errmsg}`)) this.toBack();
|