mirror of
https://github.com/BewlyBewly/BewlyBewly.git
synced 2025-04-14 13:15:29 +00:00
feat: implement open link in current tab temporarily
This commit is contained in:
@@ -90,6 +90,10 @@ watch(() => settings.value.language, (newValue, oldValue) => {
|
||||
<SettingItem :title="$t('settings.enable_horizontal_scrolling')" :desc="$t('settings.enable_horizontal_scrolling_desc')">
|
||||
<Radio v-model="settings.enableHorizontalScrolling" />
|
||||
</SettingItem>
|
||||
|
||||
<!-- <SettingItem title="Open link in current tab">
|
||||
<Radio v-model="settings.openLinkInCurrentTab" />
|
||||
</SettingItem> -->
|
||||
</template>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
|
||||
@@ -11,6 +11,8 @@ export const settings = useStorageLocal('settings', ref<Settings>({
|
||||
isShowTopbar: true,
|
||||
dockPosition: 'right',
|
||||
enableHorizontalScrolling: false,
|
||||
openLinkInCurrentTab: false,
|
||||
|
||||
theme: 'auto',
|
||||
themeColor: '#00a1d6',
|
||||
adaptToOtherPageStyles: true,
|
||||
|
||||
@@ -6,6 +6,8 @@ export interface Settings {
|
||||
isShowTopbar: boolean
|
||||
dockPosition: 'left' | 'right' | 'bottom'
|
||||
enableHorizontalScrolling: boolean
|
||||
openLinkInCurrentTab: boolean
|
||||
|
||||
theme: 'light' | 'dark' | 'auto'
|
||||
themeColor: string
|
||||
adaptToOtherPageStyles: boolean
|
||||
|
||||
Reference in New Issue
Block a user