未验证 提交 d95da7aa 编写于 作者: O openharmony_ci 提交者: Gitee

!18985 minganci修改

Merge pull request !18985 from LiAn/master
...@@ -46,7 +46,7 @@ The **"pages"** defines the route information of each page. Each page consists o ...@@ -46,7 +46,7 @@ The **"pages"** defines the route information of each page. Each page consists o
``` ```
{ {
"app": { "app": {
"bundleName": "com.huawei.player", "bundleName": "com.example.player",
"version": { "version": {
"code": 1, "code": 1,
"name": "1.0" "name": "1.0"
......
...@@ -4,21 +4,21 @@ ...@@ -4,21 +4,21 @@
$$运算符为系统内置组件提供TS变量的引用,使得TS变量和系统内置组件的内部状态保持同步。 $$运算符为系统内置组件提供TS变量的引用,使得TS变量和系统内置组件的内部状态保持同步。
内部状态具体指什么取决于组件。例如,[bindPopup](https://gitee.com/openharmony/docs/blob/master/zh-cn/application-dev/reference/arkui-ts/ts-universal-attributes-popup.md)属性方法的show参数。 内部状态具体指什么取决于组件。例如,[bindPopup](../reference/arkui-ts/ts-universal-attributes-popup.md)属性方法的show参数。
## 使用规则 ## 使用规则
- 当前$$支持基础类型变量,以及\@State、\@Link和\@Prop装饰的变量。 - 当前$$支持基础类型变量,以及\@State、\@Link和\@Prop装饰的变量。
- 当前$$仅支持[bindPopup](https://gitee.com/openharmony/docs/blob/master/zh-cn/application-dev/reference/arkui-ts/ts-universal-attributes-popup.md)属性方法的show参数,[Radio](https://gitee.com/openharmony/docs/blob/master/zh-cn/application-dev/reference/arkui-ts/ts-basic-components-radio.md)组件的checked属性,[Refresh](https://gitee.com/openharmony/docs/blob/master/zh-cn/application-dev/reference/arkui-ts/ts-container-refresh.md)组件的refreshing参数。 - 当前$$仅支持[bindPopup](../reference/arkui-ts/ts-universal-attributes-popup.md)属性方法的show参数,[Radio](../reference/arkui-ts/ts-basic-components-radio.md)组件的checked属性,[Refresh](../reference/arkui-ts/ts-container-refresh.md)组件的refreshing参数。
- $$绑定的变量变化时,会触发UI的同步刷新。 - $$绑定的变量变化时,会触发UI的同步刷新。
## 使用示例 ## 使用示例
[bindPopup](https://gitee.com/openharmony/docs/blob/master/zh-cn/application-dev/reference/arkui-ts/ts-universal-attributes-popup.md)属性方法的show参数为例: [bindPopup](../reference/arkui-ts/ts-universal-attributes-popup.md)属性方法的show参数为例:
```ts ```ts
......
...@@ -7,7 +7,7 @@ js标签中包含了实例名称、页面路由信息。 ...@@ -7,7 +7,7 @@ js标签中包含了实例名称、页面路由信息。
| 标签 | 类型 | 默认值 | 必填 | 描述 | | 标签 | 类型 | 默认值 | 必填 | 描述 |
| ----- | ------ | ------- | ---- | ----------------------------- | | ----- | ------ | ------- | ---- | ----------------------------- |
| name | string | default | 是 | 标识JS实例的名字。 | | name | string | default | 是 | 标识JS实例的名字。 |
| pages | Array | - | 是 | 路由信息,详见“**[pages](#pages)**”。 | | pages | Array | - | 是 | 路由信息,详见“[pages](#pages)”。 |
> **说明:** > **说明:**
...@@ -46,7 +46,7 @@ js标签中包含了实例名称、页面路由信息。 ...@@ -46,7 +46,7 @@ js标签中包含了实例名称、页面路由信息。
``` ```
{ {
"app": { "app": {
"bundleName": "com.huawei.player", "bundleName": "com.example.player",
"version": { "version": {
"code": 1, "code": 1,
"name": "1.0" "name": "1.0"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册