mirror of
https://github.com/jxxghp/MoviePilot-Frontend.git
synced 2026-09-05 07:28:37 +08:00
解决通知渠道不选时显示空白项的问题
This commit is contained in:
@@ -96,7 +96,7 @@ async function loadNotificationSettings() {
|
|||||||
try {
|
try {
|
||||||
const result1: { [key: string]: any } = await api.get('system/setting/MESSAGER')
|
const result1: { [key: string]: any } = await api.get('system/setting/MESSAGER')
|
||||||
if (result1.success)
|
if (result1.success)
|
||||||
selectedChannels.value = result1.data?.value?.split(',')
|
selectedChannels.value = result1.data && result1.data.value ? result1.data.value.split(',') : []
|
||||||
|
|
||||||
const result2: { [key: string]: any } = await api.get('system/env')
|
const result2: { [key: string]: any } = await api.get('system/env')
|
||||||
if (result2.success) {
|
if (result2.success) {
|
||||||
|
|||||||
Reference in New Issue
Block a user