wkw 6 月之前
父节点
当前提交
343d1a1189
共有 1 个文件被更改,包括 1 次插入2 次删除
  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,