提交 1badd42a 编写于 作者: DCloud_Heavensoft's avatar DCloud_Heavensoft

Update idref.md

上级 de15a956
......@@ -31,7 +31,7 @@ template区:
```html
<component1 ref="c1"></component1>
```
scrip区:
script区:
```js
this.$refs.c1.getSome() //js写法
this.$refs["c1"].getSome() //与上一行等价
......@@ -120,4 +120,4 @@ script区:
### vue自定义组件
uni-app x中vue组件的用法与web相同,具体[见上](#vuecomponent)
\ No newline at end of file
uni-app x中vue组件的用法与web相同,具体[见上](#vuecomponent)
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册