|
|
@@ -85,7 +85,7 @@ export default {
|
|
|
this.isLogin = 1
|
|
|
}else{
|
|
|
this.isLogin = 0
|
|
|
- }
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
@@ -97,8 +97,12 @@ export default {
|
|
|
this.$refs.createWorkRef.close()
|
|
|
},
|
|
|
commit(){
|
|
|
- this.$util.hitVoice()
|
|
|
- this.$refs.createWorkRef.open('center')
|
|
|
+ this.$util.hitVoice()
|
|
|
+ if(this.$util.isEmpty(this.selectList)) {
|
|
|
+ this.$msg('请选择花材')
|
|
|
+ return false
|
|
|
+ }
|
|
|
+ this.$refs.createWorkRef.open('center')
|
|
|
},
|
|
|
clearItemFn(){
|
|
|
this.$util.hitVoice()
|