소스 검색

图片不是必传

shish 4 년 전
부모
커밋
ba75a87d74
1개의 변경된 파일4개의 추가작업 그리고 4개의 파일을 삭제
  1. 4 4
      hdPad/src/pages/home/components/createWork.vue

+ 4 - 4
hdPad/src/pages/home/components/createWork.vue

@@ -107,10 +107,10 @@ export default {
         confirmCreate(){
         confirmCreate(){
             let that = this
             let that = this
             this.$util.hitVoice()
             this.$util.hitVoice()
-            if(this.form.cover == ''){
-                this.$msg('请上传图片')
-                return false
-            }
+            //if(this.form.cover == ''){
+                //this.$msg('请上传图片')
+                //return false
+            //}
 			if(this.$util.isEmpty(this.selectList)){
 			if(this.$util.isEmpty(this.selectList)){
 				this.$msg('请选择花材')
 				this.$msg('请选择花材')
 				return false
 				return false