@fonixtree/magic-design 2.0.16 → 2.0.18
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.
|
Binary file
|
|
@@ -203,7 +203,7 @@ function (_super) {
|
|
|
203
203
|
|
|
204
204
|
_this.getCartNum = function () {
|
|
205
205
|
return __awaiter(_this, void 0, void 0, function () {
|
|
206
|
-
var num;
|
|
206
|
+
var num, cart;
|
|
207
207
|
return __generator(this, function (_a) {
|
|
208
208
|
switch (_a.label) {
|
|
209
209
|
case 0:
|
|
@@ -216,7 +216,8 @@ function (_super) {
|
|
|
216
216
|
, (0, _commonUtil.commonFetch)('/designer/v1/h5/carts/num', {}, 'GET')];
|
|
217
217
|
|
|
218
218
|
case 1:
|
|
219
|
-
|
|
219
|
+
cart = _a.sent();
|
|
220
|
+
num = cart.num;
|
|
220
221
|
return [3
|
|
221
222
|
/*break*/
|
|
222
223
|
, 3];
|
|
Binary file
|
|
@@ -203,7 +203,7 @@ function (_super) {
|
|
|
203
203
|
|
|
204
204
|
_this.getCartNum = function () {
|
|
205
205
|
return __awaiter(_this, void 0, void 0, function () {
|
|
206
|
-
var num;
|
|
206
|
+
var num, cart;
|
|
207
207
|
return __generator(this, function (_a) {
|
|
208
208
|
switch (_a.label) {
|
|
209
209
|
case 0:
|
|
@@ -216,7 +216,8 @@ function (_super) {
|
|
|
216
216
|
, (0, _commonUtil.commonFetch)('/designer/v1/h5/carts/num', {}, 'GET')];
|
|
217
217
|
|
|
218
218
|
case 1:
|
|
219
|
-
|
|
219
|
+
cart = _a.sent();
|
|
220
|
+
num = cart.num;
|
|
220
221
|
return [3
|
|
221
222
|
/*break*/
|
|
222
223
|
, 3];
|