codeMan 1 éve
szülő
commit
0c6dd1d3d3

+ 6 - 2
src/HDrpManagement/projectData/components/pageTable.vue

@@ -31,8 +31,6 @@
       <el-pagination
           background
           small
-          :popper-append-to-body="false"
-          :append-to-body="false"
           @size-change="handleSizeChange"
           @current-change="handleCurrentChange"
           :current-page="param.content.pageNumber"
@@ -45,6 +43,7 @@
 </template>
 
 <script>
+import {mapGetters} from 'vuex'
 export default {
   props:["tablecols",'param','custom'],
   data () {
@@ -56,6 +55,11 @@ export default {
       ],
     }
   },
+  computed:{
+    ...mapGetters({
+      fullScroll:'fullScroll'
+    })
+  },
   methods:{
     async listData(init){
       if(init) this.$emit('handleParam',this.param)

+ 1 - 1
src/store/index.js

@@ -27,7 +27,7 @@ export default new Vuex.Store({
     closeDrawerTemp:false,
     DrawerShow:false,
     historyRouter:null,
-    pageCache:['projectData'],
+    pageCache:[],
     svlistData:[],
     fullScroll:false
   },