mirror of
https://github.com/jxxghp/MoviePilot-Frontend.git
synced 2026-05-25 02:09:59 +08:00
refactor(dialog): 将日志输出级别从 log 改为 warn
- 在 SubscribeEditDialog.vue 和 SubscribeSeasonDialog.vue 组件中- 当 tmdbid 未设置或为空时,使用 console.warn替代 console.log - 此修改提高了日志的可见性和严重性级别,以便更好地提醒开发者注意潜在问题
This commit is contained in:
@@ -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 {
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user