Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
<template>
<section class="panel-tabs">
<figure class="tab-name">{{tab.name}}</figure>
</section>
</template>
:active.sync="active1"
:index.sync="index2"
addable
:max="totalTabs0"
@add="addTab0"
@remove="removeTab0"
>
<p>Tab {{ tab.name }}</p>
<p>当前序号 <code>{{ index3 != null ? index3 + 1 : '已删光' }}</code></p>