feat(API):修改切回新旧版按钮显隐

This commit is contained in:
wenyann 2020-12-15 14:02:00 +08:00
parent 0dc4e71eb0
commit bf5b4fc4c6
1 changed files with 2 additions and 2 deletions

View File

@ -8,10 +8,10 @@
<el-dropdown-item command="personal">{{ $t('commons.personal_information') }}</el-dropdown-item> <el-dropdown-item command="personal">{{ $t('commons.personal_information') }}</el-dropdown-item>
<el-dropdown-item command="about">{{ $t('commons.about_us') }} <i class="el-icon-info"/></el-dropdown-item> <el-dropdown-item command="about">{{ $t('commons.about_us') }} <i class="el-icon-info"/></el-dropdown-item>
<el-dropdown-item command="help">{{ $t('commons.help_documentation') }}</el-dropdown-item> <el-dropdown-item command="help">{{ $t('commons.help_documentation') }}</el-dropdown-item>
<el-dropdown-item command="old" :disabled=isReadOnly @click.native="changeBar('old')"> <el-dropdown-item command="old" v-show=isReadOnly @click.native="changeBar('old')">
{{ $t('commons.cut_back_old_version') }} {{ $t('commons.cut_back_old_version') }}
</el-dropdown-item> </el-dropdown-item>
<el-dropdown-item command="new" :disabled=!isReadOnly @click.native="changeBar('new')"> <el-dropdown-item command="new" v-show=!isReadOnly @click.native="changeBar('new')">
{{ $t('commons.cut_back_new_version') }} {{ $t('commons.cut_back_new_version') }}
</el-dropdown-item> </el-dropdown-item>
<el-dropdown-item command="logout">{{ $t('commons.exit_system') }}</el-dropdown-item> <el-dropdown-item command="logout">{{ $t('commons.exit_system') }}</el-dropdown-item>