guhongwei 4 лет назад
Родитель
Сommit
4093a0f036

+ 1 - 1
src/views/adminCenter/dynamicInfo/index.vue

@@ -54,7 +54,7 @@ export default {
   methods: {
     ...transactions({ transactionsfetch: 'fetch', transactionslist: 'query', transactiondetele: 'detele', transactionupdate: 'update' }),
     ...dock({ dockQuery: 'query', dockFetch: 'fetch' }),
-    async searchInfo() {
+    async searchInfo({ skip = 0, limit = 10, ...info } = {}) {
       let res = await this.dockFetch(this.user.uid);
       this.$set(this, `dock_id`, res.data.id);
       let arr = await this.transactionslist({ skip, limit, dockid: this.dock_id, ...info });

+ 1 - 1
src/views/vipCenter/dynamicInfo/index.vue

@@ -54,7 +54,7 @@ export default {
   methods: {
     ...transactions({ transactionsfetch: 'fetch', transactionslist: 'query', transactiondetele: 'detele', transactionupdate: 'update' }),
     ...dock({ dockQuery: 'query', dockFetch: 'fetch' }),
-    async searchInfo() {
+    async searchInfo({ skip = 0, limit = 10, ...info } = {}) {
       let res = await this.dockFetch(this.user.uid);
       this.$set(this, `dock_id`, res.data.id);
       let arr = await this.transactionslist({ skip, limit, dockid: this.dock_id, ...info });