提交 d24723cc 编写于 作者: 辛宝Otto's avatar 辛宝Otto 🥊

refactor(x): 移除调试 log #0

上级 6d32e9ed
......@@ -3,7 +3,6 @@ import { getCurrentPage, invokeHook } from '@dcloudio/uni-core'
import { ON_HIDE, ON_SHOW } from '@dcloudio/uni-shared'
import type { ComponentPublicInstance } from 'vue'
import { setEnterOptionsSync } from '../../api/base/getEnterOptionsSync'
import type { GetLaunchOptionsSync } from '@dcloudio/uni-app-x/types/uni'
import { getNativeApp } from './app'
import { extend } from '@vue/shared'
......@@ -12,14 +11,12 @@ export function initOn(app: IApp) {
const app = getNativeApp()
const schemaLink = app.getLaunchOptionsSync()
const showOptions: ReturnType<GetLaunchOptionsSync> = extend(
{},
const showOptions = extend(
{
path: __uniConfig.entryPagePath as string,
},
schemaLink
)
console.log('showOptions', showOptions)
// enter options
setEnterOptionsSync(showOptions)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册