wkw hai 6 meses
pai
achega
343d1a1189
Modificáronse 1 ficheiros con 1 adicións e 2 borrados
  1. 1 2
      pages/index/index.vue

+ 1 - 2
pages/index/index.vue

@@ -641,7 +641,6 @@ export default {
 			if (this.current == this.typeList.length - 1) { //公司
 				this.getComanyList()
 			} else {
-				//this.getUserList()
 				this.directionList=[ //方向列表
 					{
 						id: '不限',
@@ -1062,7 +1061,6 @@ export default {
 							name: '附近'
 						})
 					if (that.userType == 1) {
-						// that.getUserList();
 						that.getPostType()
 					} else {
 						that.getCompanyClassify()
@@ -1613,6 +1611,7 @@ export default {
 		 * 获取岗位列表
 		 */
 		getUserList() {
+			if(this.typeList.length == 0) return;
 			let data = {
 				page: this.page,
 				limit: this.limit,