|
@@ -86,7 +86,7 @@ export default {
|
|
submit(){
|
|
submit(){
|
|
this.$refs.form.validate((valid) => {
|
|
this.$refs.form.validate((valid) => {
|
|
if (valid) {
|
|
if (valid) {
|
|
- if(this.form.type == 1){
|
|
|
|
|
|
+ if(this.form.type == 1 && this.form.systemFile){
|
|
var guids = this.$commonJS.checkUploadFile([this.form.systemFile])
|
|
var guids = this.$commonJS.checkUploadFile([this.form.systemFile])
|
|
if(!guids){
|
|
if(!guids){
|
|
return false
|
|
return false
|