perf: optimize the closing jump logic of tabs
* 依据tab访问历史回退上一个tab,原逻辑是返回一下个 或 上一个 * 支持在配置中开启或关闭
This commit is contained in:
@@ -57,7 +57,11 @@ const styleItems = computed((): SelectOption[] => [
|
|||||||
<SwitchItem v-model="tabbarPersist" :disabled="!tabbarEnable">
|
<SwitchItem v-model="tabbarPersist" :disabled="!tabbarEnable">
|
||||||
{{ $t('preferences.tabbar.persist') }}
|
{{ $t('preferences.tabbar.persist') }}
|
||||||
</SwitchItem>
|
</SwitchItem>
|
||||||
<SwitchItem v-model="tabbarVisitHistory" :disabled="!tabbarEnable" :tip="$t('preferences.tabbar.visitHistoryTip')">
|
<SwitchItem
|
||||||
|
v-model="tabbarVisitHistory"
|
||||||
|
:disabled="!tabbarEnable"
|
||||||
|
:tip="$t('preferences.tabbar.visitHistoryTip')"
|
||||||
|
>
|
||||||
{{ $t('preferences.tabbar.visitHistory') }}
|
{{ $t('preferences.tabbar.visitHistory') }}
|
||||||
</SwitchItem>
|
</SwitchItem>
|
||||||
<NumberFieldItem
|
<NumberFieldItem
|
||||||
|
|||||||
Reference in New Issue
Block a user