优化bug
This commit is contained in:
@@ -3,11 +3,11 @@
|
||||
<div class="btn-group" v-show="false">
|
||||
<div class="btn" @click="addFolder()" style="color: #67c23a">
|
||||
<i class="el-icon-folder" />
|
||||
{{ $t("file.addFolder") }}
|
||||
添加文件夹
|
||||
</div>
|
||||
<div class="btn" @click="addFile()" style="color: #67c23a">
|
||||
<i class="el-icon-files" />
|
||||
{{ $t("file.addFile") }}
|
||||
添加文件
|
||||
</div>
|
||||
</div>
|
||||
<fileEmpty v-if="allNumber == 0" />
|
||||
@@ -142,7 +142,7 @@ export default {
|
||||
const _this = this;
|
||||
dialog
|
||||
.showOpenDialog({
|
||||
properties: ["multiSelections"],
|
||||
properties: ["openFile", "multiSelections"],
|
||||
})
|
||||
.then(async (res) => {
|
||||
for (const item of res.filePaths) {
|
||||
|
||||
@@ -539,7 +539,6 @@ export default {
|
||||
task.task_size += fileList[i].size
|
||||
if (i === fileList.length - 1) that.form.ass_task.push(task)
|
||||
}
|
||||
console.log(that.form.ass_task)
|
||||
} else {
|
||||
let task = {
|
||||
ass_task_index: 1,
|
||||
@@ -559,7 +558,7 @@ export default {
|
||||
item.val = that.$refs[item.origin_name][0].files[0].path
|
||||
}
|
||||
if (!item.val) {
|
||||
item.val = item.default
|
||||
item.val = item.default || ''
|
||||
}
|
||||
})
|
||||
let csv1 = that.soonList.map(item => item.origin_name).join(',')
|
||||
|
||||
Reference in New Issue
Block a user