mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-14 05:16:45 +08:00
feat:任务大纲编辑跳转判断
This commit is contained in:
@@ -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);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user