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

独立运行playground, @tamgic/form 的样式不生效 #610

Closed
GoToBoy opened this issue May 29, 2024 · 1 comment
Closed

独立运行playground, @tamgic/form 的样式不生效 #610

GoToBoy opened this issue May 29, 2024 · 1 comment

Comments

@GoToBoy
Copy link
Contributor

GoToBoy commented May 29, 2024

  1. playground 缺少 @tmagic/table 的显式依赖

  2. playground 独立运行(移除@tmagic的本地路径指向),@tmagic/form 的样式文件没有正常加载进来

image
// packages\form\src\theme\form.scss  理论上应该隐藏
  .el-form-item.hidden {
    > .el-form-item__label {
      display: none;
    }
  }
@GoToBoy
Copy link
Contributor Author

GoToBoy commented May 29, 2024

在playground 单独引用 import '@tmagic/form/src/theme/index.scss'; 才行,

@jia000 jia000 closed this as completed in 49e9d5b May 29, 2024
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

No branches or pull requests

1 participant