refactor(dialog): 将日志输出级别从 log 改为 warn

- 在 SubscribeEditDialog.vue 和 SubscribeSeasonDialog.vue 组件中- 当 tmdbid 未设置或为空时,使用 console.warn替代 console.log
- 此修改提高了日志的可见性和严重性级别,以便更好地提醒开发者注意潜在问题
This commit is contained in:
shaw
2025-07-12 00:01:55 +08:00
parent 33d121fd64
commit 51d07db99b
2 changed files with 2 additions and 2 deletions

View File

@@ -100,7 +100,7 @@ function episodeGroupItemProps(item: { title: string; subtitle: string }) {
// 查询所有剧集组
async function getEpisodeGroups() {
if (!subscribeForm.value.tmdbid) {
console.log('tmdbid is not set or is empty')
console.warn('tmdbid is not set or is empty')
return
}
try {

View File

@@ -82,7 +82,7 @@ function getMediaId() {
// 查询所有剧集组
async function getEpisodeGroups() {
if (!props.media?.tmdb_id) {
console.log('tmdbid is not set or is empty')
console.warn('tmdbid is not set or is empty')
return
}
try {