Skip to content

Commit bc597df

Browse files
committed
父组件直接获取子组件的值
1 parent da6e177 commit bc597df

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

handsonDoc/DSW015-Element-Admin-编辑登录界面-添加CA认证.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,11 @@ readerData(rawFile) {
161161
},
162162
```
163163
164+
### 父组件直接获取子组件的值-变量值
164165
166+
```js
167+
// 父组件直接获取子组件的值
168+
value = this.$refs.UploadJson.uploadForm.jsonData
169+
```
165170
166171

0 commit comments

Comments
 (0)