Commit b399ba1f authored by zhengke's avatar zhengke

优化查看按钮

parent 5ee8e720
...@@ -88,7 +88,7 @@ ...@@ -88,7 +88,7 @@
<el-dropdown-item v-if="scope.row.FileType" icon="CopyDocument" @click.stop="CopyTo(scope.row)">复制到</el-dropdown-item> <el-dropdown-item v-if="scope.row.FileType" icon="CopyDocument" @click.stop="CopyTo(scope.row)">复制到</el-dropdown-item>
<el-dropdown-item icon="Delete" @click="editDelete(scope.row,1)">删除</el-dropdown-item> <el-dropdown-item icon="Delete" @click="editDelete(scope.row,1)">删除</el-dropdown-item>
</template> </template>
<el-dropdown-item v-if="scope.row.FileType" icon="View" @click="viewTemplate(scope.row)">查看</el-dropdown-item> <el-dropdown-item v-if="currentMenu==-1&&scope.row.FileType" icon="View" @click="viewTemplate(scope.row)">查看</el-dropdown-item>
</el-dropdown-menu> </el-dropdown-menu>
</template> </template>
</el-dropdown> </el-dropdown>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment