Browse Source

collection "type: all" -> error

(cherry picked from commit fee0edb2d2bd9b2718717199a11d8be187173cf1)
licailing 4 years ago
parent
commit
312add09d7

+ 2 - 2
src/main/vue/src/components/CollectionCoupon.vue

@@ -16,7 +16,7 @@ export default {
                 '/collection/all',
                 {
                     sort: 'sort,desc;createdAt,desc',
-                    query: { del: false, source: 'OFFICIAL', type: 'all', couponPayment: true }
+                    query: { del: false, source: 'OFFICIAL', couponPayment: true }
                 },
                 { body: 'json' }
             )
@@ -40,7 +40,7 @@ export default {
                     {
                         sort: 'sort,desc;createdAt,desc',
                         search: query,
-                        query: { del: false, source: 'OFFICIAL', type: 'all', couponPayment: true }
+                        query: { del: false, source: 'OFFICIAL', couponPayment: true }
                     },
                     { body: 'json' }
                 )

+ 2 - 2
src/main/vue/src/components/CollectionSearch.vue

@@ -16,7 +16,7 @@ export default {
                 '/collection/all',
                 {
                     sort: 'sort,desc;createdAt,desc',
-                    query: { del: false, source: 'OFFICIAL', type: 'all' }
+                    query: { del: false, source: 'OFFICIAL' }
                 },
                 { body: 'json' }
             )
@@ -40,7 +40,7 @@ export default {
                     {
                         sort: 'sort,desc;createdAt,desc',
                         search: query,
-                        query: { del: false, source: 'OFFICIAL', type: 'all' }
+                        query: { del: false, source: 'OFFICIAL' }
                     },
                     { body: 'json' }
                 )