| 
					
				 | 
			
			
				@@ -1105,7 +1105,7 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       const fileSuffix = file.name.substring(file.name.lastIndexOf('.') + 1) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       const whiteList = ['jpg', 'jpeg', 'png'] 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       if (whiteList.indexOf(fileSuffix) === -1) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        this.$('请添加规格类型')('只支持上传jpg/png文件!') 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        this.$errorMsg('只支持上传jpg/png文件!') 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         return false 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     }, 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -1128,7 +1128,7 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       const fileSuffix = file.name.substring(file.name.lastIndexOf('.') + 1) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       const whiteList = ['AVI', 'mov', 'rmvb', 'rm', 'FLV', 'mp4'] 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       if (whiteList.indexOf(fileSuffix) === -1) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        this.$('请添加规格类型')('只支持上传视频文件!') 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        this.$errorMsg('只支持上传视频文件!') 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         return false 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     }, 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -1143,7 +1143,7 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       const fileSuffix = file.name.substring(file.name.lastIndexOf('.') + 1) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       const whiteList = ['jpg', 'jpeg', 'png'] 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       if (whiteList.indexOf(fileSuffix) === -1) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        this.$('请添加规格类型')('只支持上传jpg/png文件!') 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        this.$errorMsg('只支持上传jpg/png文件!') 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         return false 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     }, 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -1158,7 +1158,7 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       const fileSuffix = file.name.substring(file.name.lastIndexOf('.') + 1) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       const whiteList = ['jpg', 'jpeg', 'png'] 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       if (whiteList.indexOf(fileSuffix) === -1) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        this.$('请添加规格类型')('只支持上传jpg/png文件!') 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        this.$errorMsg('只支持上传jpg/png文件!') 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         return false 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     }, 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -1201,13 +1201,13 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     // 富文本图片 - 上传失败 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     uploadError4() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       this.quillImgLoading = false 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      this.$('请添加规格类型')('图片插入失败') 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      this.$errorMsg('图片插入失败') 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     // 轮播图 - 点击上传图片 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     uploadImage(id) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       if (this.step1Form.images.length >= 6) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        this.$('请添加规格类型')('最多上传6张轮播图') 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        this.$errorMsg('最多上传6张轮播图') 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         return 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -1228,7 +1228,7 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         this.$set(this.step1Form.images, index, res.data) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       } else { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         if (this.step1Form.images.length >= 6) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          return this.$('请添加规格类型')('最多上传6张轮播图') 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          return this.$errorMsg('最多上传6张轮播图') 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         this.step1Form.images.push(res.data) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       } 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -1236,7 +1236,7 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     // 轮播图 - 超出限制数量 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     uploadExceed2(files, fileList) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      return this.$('请添加规格类型')('最多上传6张轮播图') 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      return this.$errorMsg('最多上传6张轮播图') 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     // 轮播图 - 上传前 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -1244,7 +1244,7 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       const fileSuffix = file.name.substring(file.name.lastIndexOf('.') + 1) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       const whiteList = ['jpg', 'jpeg', 'png'] 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       if (whiteList.indexOf(fileSuffix) === -1) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        this.$('请添加规格类型')('只支持上传jpg/jpeg/png文件!') 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        this.$errorMsg('只支持上传jpg/jpeg/png文件!') 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         return false 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     }, 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -1268,7 +1268,7 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         this.$set(this.step1Form.images, index, targetItem) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         this.$set(this.step1Form.images, index - 1, thisItem) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       } else { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        this.$('请添加规格类型')('已经最前,无法前移') 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        this.$errorMsg('已经最前,无法前移') 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -1281,7 +1281,7 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         this.$set(this.step1Form.images, index, targetItem) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         this.$set(this.step1Form.images, index + 1, thisItem) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       } else { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        this.$('请添加规格类型')('已经最后,无法后移') 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        this.$errorMsg('已经最后,无法后移') 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 |