mirror of
https://github.com/jxxghp/MoviePilot-Frontend.git
synced 2026-09-05 23:56:42 +08:00
remove(setting)
- 移除测试版的通过规则命中,来设置保存按钮禁用方法。
This commit is contained in:
@@ -192,11 +192,6 @@ function onMediaServerChange(mediaserver: MediaServerConf, name: string) {
|
|||||||
if (index !== -1) mediaServers.value[index] = mediaserver
|
if (index !== -1) mediaServers.value[index] = mediaserver
|
||||||
}
|
}
|
||||||
|
|
||||||
// 禁止保存
|
|
||||||
const isSystemSettingsSaveDisabled = computed(() => {
|
|
||||||
return SystemSettings.value.MEDIASERVER_SYNC_INTERVAL < 1
|
|
||||||
})
|
|
||||||
|
|
||||||
// 加载数据
|
// 加载数据
|
||||||
onMounted(() => {
|
onMounted(() => {
|
||||||
loadDownloaderSetting()
|
loadDownloaderSetting()
|
||||||
@@ -248,7 +243,7 @@ onDeactivated(() => {
|
|||||||
<VCardText>
|
<VCardText>
|
||||||
<VForm @submit.prevent="() => {}">
|
<VForm @submit.prevent="() => {}">
|
||||||
<div class="d-flex flex-wrap gap-4 mt-4">
|
<div class="d-flex flex-wrap gap-4 mt-4">
|
||||||
<VBtn type="submit" @click="saveSystemSetting" :disabled="isSystemSettingsSaveDisabled"> 保存 </VBtn>
|
<VBtn type="submit" @click="saveSystemSetting"> 保存 </VBtn>
|
||||||
</div>
|
</div>
|
||||||
</VForm>
|
</VForm>
|
||||||
</VCardText>
|
</VCardText>
|
||||||
|
|||||||
Reference in New Issue
Block a user