You've already forked bilibili-subtitle
fix
This commit is contained in:
@@ -20,6 +20,8 @@ export const MESSAGE_TO_APP_SET_VIDEO_INFO = 'setVideoInfo'
|
||||
|
||||
export const EVENT_EXPAND = 'expand'
|
||||
|
||||
export const APP_DOM_ID = 'bilibili-subtitle'
|
||||
|
||||
export const IFRAME_ID = 'bilibili-subtitle-iframe'
|
||||
|
||||
export const STORAGE_ENV = 'bilibili-subtitle_env'
|
||||
|
@@ -4,8 +4,7 @@ import './index.less'
|
||||
import store from './store'
|
||||
import {Provider} from 'react-redux'
|
||||
import Router from './Router'
|
||||
|
||||
export const APP_DOM_ID = 'bilibili-subtitle'
|
||||
import { APP_DOM_ID } from './consts/const'
|
||||
|
||||
const body = document.querySelector('body')
|
||||
const app = document.createElement('div')
|
||||
|
@@ -1,8 +1,7 @@
|
||||
import {CUSTOM_MODEL_TOKENS, MODEL_DEFAULT, MODEL_MAP, SUMMARIZE_TYPES} from '../consts/const'
|
||||
import {APP_DOM_ID, CUSTOM_MODEL_TOKENS, MODEL_DEFAULT, MODEL_MAP, SUMMARIZE_TYPES} from '../consts/const'
|
||||
import {isDarkMode} from '@kky002/kky-util'
|
||||
import toast from 'react-hot-toast'
|
||||
import {findIndex} from 'lodash-es'
|
||||
import {APP_DOM_ID} from '../Main'
|
||||
export const debug = (...args: any[]) => {
|
||||
console.debug('[APP]', ...args)
|
||||
}
|
||||
|
Reference in New Issue
Block a user