|  | @@ -264,16 +264,22 @@ export default {
 | 
	
		
			
				|  |  |        // 判断是添加还是修改
 | 
	
		
			
				|  |  |        if (this.vipStatusFrom.isAdd) {
 | 
	
		
			
				|  |  |          // 添加
 | 
	
		
			
				|  |  | -        addVipGroupCategory({
 | 
	
		
			
				|  |  | -          name: this.vipStatusFrom.name,
 | 
	
		
			
				|  |  | -          singleClassMinutes: this.dynamicTags.join(','),
 | 
	
		
			
				|  |  | -          studentNum: this.vipStatusFrom.num
 | 
	
		
			
				|  |  | -        }).then(res => {
 | 
	
		
			
				|  |  | -          if (res.code == 200) {
 | 
	
		
			
				|  |  | -            this.getVipGroupCategoryList();
 | 
	
		
			
				|  |  | -            this.vipStatus = false;
 | 
	
		
			
				|  |  | -          }
 | 
	
		
			
				|  |  | -        })
 | 
	
		
			
				|  |  | +        if (this.vipStatusFrom.name && this.vipStatusFrom.num && this.dynamicTags.length > 0) {
 | 
	
		
			
				|  |  | +          addVipGroupCategory({
 | 
	
		
			
				|  |  | +            name: this.vipStatusFrom.name,
 | 
	
		
			
				|  |  | +            singleClassMinutes: this.dynamicTags.join(','),
 | 
	
		
			
				|  |  | +            studentNum: this.vipStatusFrom.num
 | 
	
		
			
				|  |  | +          }).then(res => {
 | 
	
		
			
				|  |  | +            if (res.code == 200) {
 | 
	
		
			
				|  |  | +              this.getVipGroupCategoryList();
 | 
	
		
			
				|  |  | +              this.vipStatus = false;
 | 
	
		
			
				|  |  | +            }
 | 
	
		
			
				|  |  | +          })
 | 
	
		
			
				|  |  | +        } else {
 | 
	
		
			
				|  |  | +          this.$message.error('请填写参数')
 | 
	
		
			
				|  |  | +          return
 | 
	
		
			
				|  |  | +        }
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  |        } else {
 | 
	
		
			
				|  |  |          // 修改
 | 
	
		
			
				|  |  |          resetVipGroupCategory({
 |