瀏覽代碼

update pc_chat

luke 6 年之前
父節點
當前提交
1b8fe3cc33
共有 1 個文件被更改,包括 4 次插入7 次删除
  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() {