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

使用name去切换布局失败,是要先注册好layout里面要用的组件吗 #30

Closed
4 tasks done
catdddmouse opened this issue Apr 28, 2024 · 1 comment · Fixed by #42
Closed
4 tasks done

Comments

@catdddmouse
Copy link

catdddmouse commented Apr 28, 2024

Describe the bug

直接用name的话是可以的,但是name改成响应式就不行了

image
image

Reproduction

const supervisorLayout = ref('default')

image

System Info

"@uni-helper/vite-plugin-uni-layouts": "^0.1.7",

Used Package Manager

npm

Validations

  • Follow our Code of Conduct
  • Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
  • Check that this is a concrete bug. For Q&A, please open a GitHub Discussion instead.
  • The provided reproduction is a minimal reproducible of the bug.
@Skiyee
Copy link
Member

Skiyee commented May 27, 2024

需要在使用自定义布局页面禁用布局

使用说明:动态布局和额外插槽

无使用 vite-plugin-uni-pages 禁用方法:pages.json下禁用

使用 vite-plugin-uni-pages 禁用方法:route-block

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants