Merge pull request #276 from InfinityPacer/v2

This commit is contained in:
jxxghp
2024-12-26 17:31:55 +08:00
committed by GitHub

View File

@@ -29,6 +29,7 @@ const SystemSettings = ref<any>({
BIG_MEMORY_MODE: false, BIG_MEMORY_MODE: false,
DB_WAL_ENABLE: false, DB_WAL_ENABLE: false,
ENCODING_DETECTION_PERFORMANCE_MODE: true, ENCODING_DETECTION_PERFORMANCE_MODE: true,
TOKENIZED_SEARCH: false,
// 媒体 // 媒体
TMDB_API_DOMAIN: null, TMDB_API_DOMAIN: null,
TMDB_IMAGE_DOMAIN: null, TMDB_IMAGE_DOMAIN: null,
@@ -710,7 +711,7 @@ onDeactivated(() => {
<VWindowItem value="dev"> <VWindowItem value="dev">
<div> <div>
<VRow> <VRow>
<VCol cols="12" md="4"> <VCol cols="12" md="6">
<VSwitch <VSwitch
v-model="SystemSettings.Advanced.DEBUG" v-model="SystemSettings.Advanced.DEBUG"
label="DEBUG日志" label="DEBUG日志"
@@ -718,7 +719,7 @@ onDeactivated(() => {
persistent-hint persistent-hint
/> />
</VCol> </VCol>
<VCol cols="12" md="4"> <VCol cols="12" md="6">
<VSwitch <VSwitch
v-model="SystemSettings.Advanced.PLUGIN_AUTO_RELOAD" v-model="SystemSettings.Advanced.PLUGIN_AUTO_RELOAD"
label="插件热加载" label="插件热加载"
@@ -726,7 +727,7 @@ onDeactivated(() => {
persistent-hint persistent-hint
/> />
</VCol> </VCol>
<VCol cols="12" md="4"> <VCol cols="12" md="6">
<VSwitch <VSwitch
v-model="SystemSettings.Advanced.ENCODING_DETECTION_PERFORMANCE_MODE" v-model="SystemSettings.Advanced.ENCODING_DETECTION_PERFORMANCE_MODE"
label="编码探测性能模式" label="编码探测性能模式"
@@ -734,6 +735,14 @@ onDeactivated(() => {
persistent-hint persistent-hint
/> />
</VCol> </VCol>
<VCol cols="12" md="6">
<VSwitch
v-model="SystemSettings.Advanced.TOKENIZED_SEARCH"
label="分词搜索"
hint="提升历史记录搜索精度,但可能增加性能开销和意外结果"
persistent-hint
/>
</VCol>
</VRow> </VRow>
</div> </div>
</VWindowItem> </VWindowItem>