vite-plugin-uni-layouts icon indicating copy to clipboard operation
vite-plugin-uni-layouts copied to clipboard

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

Open catdddmouse opened this issue 1 year ago • 0 comments

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

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

catdddmouse avatar Apr 28 '24 05:04 catdddmouse