feat:任务大纲编辑跳转判断

This commit is contained in:
dongwug
2022-11-11 09:22:25 +08:00
parent b1d798ad4b
commit c3b09e61c7
3 changed files with 50 additions and 187 deletions

View File

@@ -38,7 +38,7 @@
<div class="queBox" v-for="(q, index) in questions" :key="index">
<div class="delBtn" v-if="questions.length > 1">
<img src="@/assets/images/projectadd/delete.png" alt="" />
<div class="btnText">删除题干</div>
<div class="btnText" @click="DelShow()">删除题干</div>
</div>
<div class="main_item">
<div class="signbox">
@@ -109,8 +109,6 @@ import * as api from "../../api/indexVote";
import { message } from "ant-design-vue";
export default {
name: "CreVote",
// components: {
// },
props: {
crevoteVisible: {
type: Boolean,
@@ -138,7 +136,6 @@ export default {
},
],
});
const addQue = () => {
state.questions.push({
stemTit: "题干",
@@ -168,7 +165,6 @@ export default {
// delete value[0]
value.pop()
}
const closeDrawer = () => {
ctx.emit("update:crevoteVisible", false);
};