提交 07252d6a 编写于 作者: DCloud-WZF's avatar DCloud-WZF 💬

docs(uni-app x): import type

上级 fa8e7daa
......@@ -103,6 +103,8 @@ export default {
</template>
<script lang="ts">
import type { ComponentPublicInstance } from 'vue'
export default {
onReady() {
const text = this.$refs.text as Element
......@@ -123,6 +125,8 @@ export default {
</template>
<script lang="uts">
import type { ComponentPublicInstance } from 'vue'
export default {
onReady() {
const text = this.$refs.get("text") as INode
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册