Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

怎样执行完入口组件的初始化事件才执页面的事件? #10547

Open
imsheng opened this issue Nov 2, 2021 · 0 comments
Open

怎样执行完入口组件的初始化事件才执页面的事件? #10547

imsheng opened this issue Nov 2, 2021 · 0 comments
Labels
F-react Framework - React T-weapp Target - 编译到微信小程序 V-3 Version - 3.x

Comments

@imsheng
Copy link

imsheng commented Nov 2, 2021

相关平台

入口跟页面没有先后顺序~
怎样执行完入口的初始化事件才执页面的事件?

复现仓库

https://github.com/imgss/txxaro-xxweui/bxxxlob/maxxster/sxxrc/xxapp.tsxxx
小程序基础库: xx.xx
使用框架: React

复现步骤

入口跟页面没有先后顺序~
怎样执行完入口的初始化事件才执页面的事件?

期望结果

入口跟页面没有先后顺序~
怎样执行完入口的初始化事件才执页面的事件?

实际结果

入口跟页面没有先后顺序~
怎样执行完入口的初始化事件才执页面的事件?

环境信息

  Taro CLI 3.3.3 environment info:
    System:
      OS: macOS 11.5.2
      Shell: 5.8 - /bin/zsh
    Binaries:
      Node: 14.16.1 - ~/.nvm/versions/node/v14.16.1/bin/node
      Yarn: 1.22.10 - /usr/local/bin/yarn
      npm: 7.20.1 - ~/.nvm/versions/node/v14.16.1/bin/npm
    npmPackages:
      @tarojs/cli: 3.3.3 => 3.3.3 
      @tarojs/components: 3.3.3 => 3.3.3 
      @tarojs/mini-runner: 3.3.3 => 3.3.3 
      @tarojs/react: 3.3.3 => 3.3.3 
      @tarojs/runtime: 3.3.3 => 3.3.3 
      @tarojs/taro: 3.3.3 => 3.3.3 
      @tarojs/webpack-runner: 3.3.3 => 3.3.3 
      babel-preset-taro: 3.3.3 => 3.3.3 
      eslint-config-taro: 3.3.3 => 3.3.3 
      react: ^17.0.0 => 17.0.2 
    npmGlobalPackages:
      typescript: 4.3.4

补充信息

入口跟页面没有先后顺序~
怎样执行完入口的初始化事件才执页面的事件?

@taro-bot2 taro-bot2 bot added F-react Framework - React T-weapp Target - 编译到微信小程序 V-3 Version - 3.x labels Nov 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
F-react Framework - React T-weapp Target - 编译到微信小程序 V-3 Version - 3.x
Projects
None yet
Development

No branches or pull requests

1 participant