From 0195d3f0881079ca64a27d2c2babb9b3ca71ac74 Mon Sep 17 00:00:00 2001 From: ztt <835303992@qq.com> Date: Fri, 22 Mar 2024 01:10:14 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=86=E9=94=80=E7=AD=89=E7=BA=A7=E9=85=8D?= =?UTF-8?q?=E7=BD=AE=E5=95=86=E5=93=81=E5=88=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/assets/js/backend/shopro/commission/level.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/public/assets/js/backend/shopro/commission/level.js b/public/assets/js/backend/shopro/commission/level.js index 99c90c0..a88944a 100755 --- a/public/assets/js/backend/shopro/commission/level.js +++ b/public/assets/js/backend/shopro/commission/level.js @@ -347,7 +347,7 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin Fast.api.open(`shopro/coupon/select?multiple=true&status=normal&use_scope=goods&ids=${ids.join(',')}`, "选择商品券", { callback(data) { console.log(JSON.parse(JSON.stringify(data))) - form.model.coupon_rules.programme_1 = data.data; + form.model.coupon_rules.programme_1 = JSON.parse(JSON.stringify(data)); } }) } @@ -360,7 +360,7 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin Fast.api.open(`shopro/coupon/select?multiple=true&status=normal&use_scope=goods&ids=${ids.join(',')}`, "选择商品券", { callback(data) { console.log(JSON.parse(JSON.stringify(data))) - form.model.coupon_rules.programme_2 = data.data; + form.model.coupon_rules.programme_2 = JSON.parse(JSON.stringify(data)); } }) }