提交 48d46e4e 编写于 作者: Q qiang

fix: remove unused

上级 6d32224c
import { invokeHook } from '@dcloudio/uni-core' import { invokeHook } from '@dcloudio/uni-core'
import { injectAppHooks } from '@dcloudio/uni-api' import { injectAppHooks } from '@dcloudio/uni-api'
import { ON_LAUNCH, ON_SHOW, ON_HIDE } from '@dcloudio/uni-shared' import { ON_LAUNCH, ON_SHOW } from '@dcloudio/uni-shared'
import { ComponentPublicInstance } from 'vue' import { ComponentPublicInstance } from 'vue'
import { initLaunchOptions } from '../../../service/framework/app/utils' import { initLaunchOptions } from '../../../service/framework/app/utils'
......
import { getRouteOptions, subscribeServiceMethod } from '@dcloudio/uni-core' // import { getRouteOptions, subscribeServiceMethod } from '@dcloudio/uni-core'
import { // import {
addLeadingSlash, // addLeadingSlash,
ON_WXS_INVOKE_CALL_METHOD, // ON_WXS_INVOKE_CALL_METHOD,
WEB_INVOKE_APPSERVICE, // WEB_INVOKE_APPSERVICE,
} from '@dcloudio/uni-shared' // } from '@dcloudio/uni-shared'
import { // import {
ON_WEBVIEW_READY, // ON_WEBVIEW_READY,
VD_SYNC, // VD_SYNC,
WEBVIEW_INSERTED, // WEBVIEW_INSERTED,
WEBVIEW_REMOVED, // WEBVIEW_REMOVED,
} from '../../../../constants' // } from '../../../../constants'
import { subscribeWebviewReady } from './webviewReady' import { subscribeWebviewReady } from './webviewReady'
export function initSubscribeHandlers() { export function initSubscribeHandlers() {
......
import { getRouteOptions } from '@dcloudio/uni-core' // import { getRouteOptions } from '@dcloudio/uni-core'
import { addLeadingSlash } from '@dcloudio/uni-shared' import { addLeadingSlash } from '@dcloudio/uni-shared'
import { ON_WEBVIEW_READY } from '../../../../constants' // import { ON_WEBVIEW_READY } from '../../../../constants'
import { $navigateTo } from '../../../api/route/navigateTo' import { $navigateTo } from '../../../api/route/navigateTo'
// import { $switchTab } from '../../../api/route/switchTab' // import { $switchTab } from '../../../api/route/switchTab'
...@@ -29,7 +29,7 @@ function onLaunchWebviewReady() { ...@@ -29,7 +29,7 @@ function onLaunchWebviewReady() {
// plus.navigator.closeSplashscreen() // plus.navigator.closeSplashscreen()
// } // }
const entryPagePath = addLeadingSlash(__uniConfig.entryPagePath!) const entryPagePath = addLeadingSlash(__uniConfig.entryPagePath!)
const routeOptions = getRouteOptions(entryPagePath)! // const routeOptions = getRouteOptions(entryPagePath)!
const args = { const args = {
url: entryPagePath + (__uniConfig.entryPageQuery || ''), url: entryPagePath + (__uniConfig.entryPageQuery || ''),
......
...@@ -4,8 +4,8 @@ import { IPage } from '@dcloudio/uni-app-x/types/native' ...@@ -4,8 +4,8 @@ import { IPage } from '@dcloudio/uni-app-x/types/native'
import { EventChannel, formatLog } from '@dcloudio/uni-shared' import { EventChannel, formatLog } from '@dcloudio/uni-shared'
import { import {
initPageInternalInstance, initPageInternalInstance,
initPageVm, // initPageVm,
invokeHook, // invokeHook,
} from '@dcloudio/uni-core' } from '@dcloudio/uni-core'
import { genWebviewId } from '../../../service/framework/webview/utils' import { genWebviewId } from '../../../service/framework/webview/utils'
import { initRouteOptions } from '../../../service/framework/page/routeOptions' import { initRouteOptions } from '../../../service/framework/page/routeOptions'
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册