diff --git a/public/assets/js/backend/shopro/coupon.js b/public/assets/js/backend/shopro/coupon.js index c8ccc3a..03cfc9c 100755 --- a/public/assets/js/backend/shopro/coupon.js +++ b/public/assets/js/backend/shopro/coupon.js @@ -426,7 +426,7 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin state.selected = JSON.parse(JSON.stringify(val)) console.log(val) console.log(JSON.parse(JSON.stringify(val))) - state.ids.push(state.selected) + state.ids = state.selected } function onConfirm() {