fix:编辑按钮显示

This commit is contained in:
wyx
2023-03-22 19:47:25 +08:00
parent e123821835
commit 6698cdfd2f
2 changed files with 14 additions and 2 deletions

View File

@@ -288,7 +288,13 @@
开课 开课
</span> </span>
<span <span
v-if="!element.routerTaskId" v-if="element.type!==2"
style="color: #4ea6ff;cursor: pointer;"
@click="editTaskForType(element,index)">
编辑
</span>
<span
v-if="!element.routerTaskId && element.type===2"
style="color: #4ea6ff;cursor: pointer;" style="color: #4ea6ff;cursor: pointer;"
@click="editTaskForType(element,index)"> @click="editTaskForType(element,index)">
编辑 编辑

View File

@@ -258,7 +258,13 @@
开课 开课
</span> </span>
<span <span
v-if="!element.projectTaskId" v-if="element.type!==2"
style="color: #4ea6ff;cursor: pointer;"
@click="editTaskForType(element,index)">
编辑
</span>
<span
v-if="!element.projectTaskId && element.type===2"
style="color: #4ea6ff;cursor: pointer;" style="color: #4ea6ff;cursor: pointer;"
@click="editTaskForType(element,index)"> @click="editTaskForType(element,index)">
编辑 编辑