Bläddra i källkod

fix: camera wall cannot be displayed

Casper Dai 3 år sedan
förälder
incheckning
86e64a23be
1 ändrade filer med 3 tillägg och 3 borttagningar
  1. 3 3
      src/views/external/camera/index.vue

+ 3 - 3
src/views/external/camera/index.vue

@@ -36,7 +36,7 @@
           <button
             v-if="totalCount"
             class="c-sibling-item o-button o-botton--white"
-            @click="onFull"
+            @click="onAll"
           >
             <i class="o-button__icon el-icon-menu" />全部
           </button>
@@ -317,8 +317,8 @@ export default {
         this.detailing = true
       }
     },
-    onFull () {
-      const { totalCount, params } = this.$refs.table.info()
+    onAll () {
+      const { totalCount, ...params } = this.$refs.table.info()
       if (totalCount > params.pageSize) {
         this.fullscreenOptions = {
           params: {