投票有一个bug,添加的选项,如果没保存过,删不掉

This commit is contained in:
kclf
2022-12-05 22:34:04 +08:00
parent a55055576d
commit 54d6528569
3 changed files with 4 additions and 6 deletions

View File

@@ -55,7 +55,7 @@
<div v-if="ballotId > 0">
<a-tag closable color="processing" @close="handlelog">
<span style="font-size: 14px; line-height: 33px">
{{ ballot_name }}
{{ ballot_name }}
</span>
</a-tag>
</div>
@@ -76,7 +76,7 @@
</button>
<div :style="{ display: creVote ? 'block' : 'none' }">
<div class="fileTigan">
<span style="color: #388be1">{{ ballot_name }}</span>
<span style="color: #388be1">{{ ballot_name }}</span>
<div class="delBox" @click="dleVoteStem()"></div>
</div>
</div>
@@ -254,7 +254,6 @@ export default {
fileList: [],
voteCount: null,
projectTemplateId: null,
});
const closeDrawer = () => {
(state.inputV1 = ""),
@@ -304,7 +303,6 @@ export default {
console.log("file========", file);
console.log("file========", file.response);
state.voteCount = file.response.data;
}
});
//fileList.value = resFileList;