提交 525cad9a 编写于 作者: 雪洛's avatar 雪洛

fix: $data应使用索引访问其中属性

上级 71b7504b
......@@ -13,7 +13,7 @@ export default {
},
methods: {
getRoot (): boolean {
return this.$root!.$data.get('root') as boolean
return this.$root!.$data['root'] as boolean
}
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册