不使用navigateTo NativeScript设置转换

不使用navigateTo NativeScript设置转换,nativescript,Nativescript,我想知道如何使用NativeScript设置不转换 目前,我有: this.$navigateTo(LogIn, { frame: "app", clearHistory: false, }) 我想直接显示登录框架,无需转换。我尝试过使用此选项,设置持续时间0,或设置转换:false,但我始终使用转换: this.$navigateTo(LogIn, { frame: "app", clearHistory: false,

我想知道如何使用NativeScript设置不转换

目前,我有:

this.$navigateTo(LogIn, {
    frame: "app",
    clearHistory: false,
})
我想直接显示登录框架,无需转换。我尝试过使用此选项,设置持续时间0,或设置转换:false,但我始终使用转换:

this.$navigateTo(LogIn, {
    frame: "app",
    clearHistory: false,
    transition: {
      name: "fade",
      duration: 0,
      curve: "easeIn"
    }
  })

不要将
transition
设置为
false
,而是尝试将
animated
设置为
false
。以下是更新的代码段:

this.$navigateTo(登录{
框架:“应用程序”,
clearHistory:错误,
动画:错误
})