Skip to content

[u]update doc #2437

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

Merged
merged 1 commit into from
Jul 18, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
[u]update doc
  • Loading branch information
CommanderXL committed Jun 30, 2023
commit adb9ab6913498d1dea3965ed028b6b8c08e38eec
2 changes: 1 addition & 1 deletion mini/framework/自定义组件/组件模板和样式.md
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,7 @@ Component({

为了避免产生非预期行为,故需要开发者显式开启外部样式类功能。

通过 Component 构造器的 `options` 配置项设置 `externalClasses: true` 开启。同时,该功能仅用于**自定义组件开启隔离**
通过 Component 构造器的 `options` 配置项设置 `externalClasses: true` 开启。该功能仅在开启了[样式隔离](https://opendocs.alipay.com/mini/framework/component-template#%E8%87%AA%E5%AE%9A%E4%B9%89%E7%BB%84%E4%BB%B6%E6%A0%B7%E5%BC%8F%E9%9A%94%E7%A6%BB)的自定义组件当中生效

### 示例代码
```javascript
Expand Down