Explorar o código

update pc_chat

luke %!s(int64=6) %!d(string=hai) anos
pai
achega
1b8fe3cc33
Modificáronse 1 ficheiros con 4 adicións e 7 borrados
  1. 4 7
      pc_chat/src/components/ledgeBase.vue

+ 4 - 7
pc_chat/src/components/ledgeBase.vue

@@ -72,6 +72,7 @@
 					</div>
 					<!-- 分页 -->
 					<el-pagination
+							v-if="noBase"
 							style="text-align: center"
 							background
 							layout="prev, pager, next"
@@ -117,7 +118,7 @@
 				imgs: [],
 				url: 'http://kfadmin.bocai186.com', // 域名地址
 				// url: 'http://192.168.2.187:8090', // 域名地址
-				pages: 0,
+				pages: 1,
 				optionCont: "",
 				ledgedata: {}
 			}
@@ -151,6 +152,7 @@
 			acty(type, name) {
 				this.activity = type;
 				this.problemName = name;
+				this.getLeave(1);
 			},
 			// 获取下拉框的值
 			selectGet(value) {
@@ -193,12 +195,7 @@
 				} else {
 					this.optionCont = this.seltValue;
 				}
-				let data = {
-					time: this.optionCont,
-					key: this.crux,
-					type: this.problemName
-				}
-				this.getLeave()
+				this.getLeave(1)
 			}
 		},
 		mounted() {