|
|
@ -18,11 +18,11 @@
|
|
|
|
</router-link>
|
|
|
|
</router-link>
|
|
|
|
</scroll-pane>
|
|
|
|
</scroll-pane>
|
|
|
|
<ul v-show="visible" :style="{left:left+'px',top:top+'px'}" class="contextmenu">
|
|
|
|
<ul v-show="visible" :style="{left:left+'px',top:top+'px'}" class="contextmenu">
|
|
|
|
<li @click="refreshSelectedTag(selectedTag)">刷新页面</li>
|
|
|
|
<li @click="refreshSelectedTag(selectedTag)"><i class="el-icon-refresh-right"></i> 刷新页面</li>
|
|
|
|
<li v-if="!isAffix(selectedTag)" @click="closeSelectedTag(selectedTag)">关闭当前</li>
|
|
|
|
<li v-if="!isAffix(selectedTag)" @click="closeSelectedTag(selectedTag)"><i class="el-icon-close"></i> 关闭当前</li>
|
|
|
|
<li @click="closeOthersTags">关闭其他</li>
|
|
|
|
<li @click="closeOthersTags"><i class="el-icon-circle-close"></i> 关闭其他</li>
|
|
|
|
<li v-if="!isLastView()" @click="closeRightTags">关闭右侧</li>
|
|
|
|
<li v-if="!isLastView()" @click="closeRightTags"><i class="el-icon-right"></i> 关闭右侧</li>
|
|
|
|
<li @click="closeAllTags(selectedTag)">关闭所有</li>
|
|
|
|
<li @click="closeAllTags(selectedTag)"><i class="el-icon-circle-close"></i> 全部关闭</li>
|
|
|
|
</ul>
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
</template>
|
|
|
|