chenyao
2025-02-26 31b7e874bac09e8a82c938c75e36452580dfddd6
src/api/pilot-bridge.ts
@@ -1,4 +1,4 @@
import { ElMessage } from 'element-plus';
import { showNotify } from 'vant';
import { EComponentName, ELocalStorageKey, EPhotoType, ERouterName } from '../types'
import { CURRENT_CONFIG } from './http/config'
import { EVideoPublishType, LiveStreamStatus } from '@/types/live-stream'
@@ -68,8 +68,7 @@
function errorHint (response: JsResponse): boolean {
  if (response.code !== 0) {
    ElMessage.error(response.message)
    console.error(response.message)
    showNotify({ type: 'warning', message: response.message })
    return false
  }
  return true