fix #193
parent
40fda1368a
commit
e42ec4b42f
|
@ -275,6 +275,10 @@ export default {
|
|||
this.checkConflict(files, this.req.items, base)
|
||||
},
|
||||
checkConflict (files, items, base) {
|
||||
if (typeof items === 'undefined' || items === null) {
|
||||
items = []
|
||||
}
|
||||
|
||||
let conflict = false
|
||||
for (let i = 0; i < files.length; i++) {
|
||||
let res = items.findIndex(function hasConflict (element) {
|
||||
|
|
582
rice-box.go
582
rice-box.go
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue