Skip to content

Commit

Permalink
refactor(x): 移除调试 log #0
Browse files Browse the repository at this point in the history
  • Loading branch information
Otto-J committed Jul 19, 2024
1 parent 6d32e9e commit d24723c
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions packages/uni-app-plus/src/x/framework/app/initService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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'

Expand All @@ -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)

Expand Down

0 comments on commit d24723c

Please sign in to comment.