mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-13 04:46:46 +08:00
投票有一个bug,添加的选项,如果没保存过,删不掉
This commit is contained in:
@@ -55,7 +55,7 @@
|
|||||||
<div v-if="ballotId > 0">
|
<div v-if="ballotId > 0">
|
||||||
<a-tag closable color="processing" @close="handlelog">
|
<a-tag closable color="processing" @close="handlelog">
|
||||||
<span style="font-size: 14px; line-height: 33px">
|
<span style="font-size: 14px; line-height: 33px">
|
||||||
{{ ballot_name }}
|
{{ ballot_name }}
|
||||||
</span>
|
</span>
|
||||||
</a-tag>
|
</a-tag>
|
||||||
</div>
|
</div>
|
||||||
@@ -76,7 +76,7 @@
|
|||||||
</button>
|
</button>
|
||||||
<div :style="{ display: creVote ? 'block' : 'none' }">
|
<div :style="{ display: creVote ? 'block' : 'none' }">
|
||||||
<div class="fileTigan">
|
<div class="fileTigan">
|
||||||
<span style="color: #388be1">{{ ballot_name }}</span>
|
<span style="color: #388be1">{{ ballot_name }}</span>
|
||||||
<div class="delBox" @click="dleVoteStem()"></div>
|
<div class="delBox" @click="dleVoteStem()"></div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -254,7 +254,6 @@ export default {
|
|||||||
fileList: [],
|
fileList: [],
|
||||||
voteCount: null,
|
voteCount: null,
|
||||||
projectTemplateId: null,
|
projectTemplateId: null,
|
||||||
|
|
||||||
});
|
});
|
||||||
const closeDrawer = () => {
|
const closeDrawer = () => {
|
||||||
(state.inputV1 = ""),
|
(state.inputV1 = ""),
|
||||||
@@ -304,7 +303,6 @@ export default {
|
|||||||
console.log("file========", file);
|
console.log("file========", file);
|
||||||
console.log("file========", file.response);
|
console.log("file========", file.response);
|
||||||
state.voteCount = file.response.data;
|
state.voteCount = file.response.data;
|
||||||
|
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
//fileList.value = resFileList;
|
//fileList.value = resFileList;
|
||||||
|
|||||||
@@ -272,7 +272,7 @@ export default {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
virtualDel();
|
virtualDel(id);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
const virtualDel = (id) => {
|
const virtualDel = (id) => {
|
||||||
|
|||||||
@@ -460,7 +460,7 @@ export default {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
virtualDel();
|
virtualDel(id);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
const virtualDel = (id) => {
|
const virtualDel = (id) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user