From 58b5c55e1209f7315629724e570ef4c609fbc0c0 Mon Sep 17 00:00:00 2001 From: shutao Date: Sat, 12 Oct 2024 12:49:20 +0800 Subject: [PATCH] update uts-vue-component.md --- docs/plugin/uts-vue-component.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/docs/plugin/uts-vue-component.md b/docs/plugin/uts-vue-component.md index 35ff5ffa..b451cf1e 100644 --- a/docs/plugin/uts-vue-component.md +++ b/docs/plugin/uts-vue-component.md @@ -50,7 +50,7 @@ HBuilder X 选中你的项目,项目根目录选中uni_modules目录,右键选择新建uni_modules插件,弹窗后分类选择 “UTS插件-标准模式组件”,填写组件名称,以下均已 native-button 为例 -//截图 +![](https://web-ext-storage.dcloud.net.cn/doc/uts/uts_plugin/create-uts-vue-component.png) 创建完毕 HBuilder X 会自动构建模版文件,参考:`UTS插件-标准模式组件目录结构` @@ -70,7 +70,7 @@ HBuilder X 选中你的项目,项目根目录选中uni_modules目录,右键 native-view 初始化会触发 @init 事件,此时创建NativeButton对象,native-button.uvue代码中用NativeButton对象调用插件相关的API。将 UniNativeViewElement 传递给NativeButton对象对象,进行关联绑定 -[NativeButton](#NativeButton对象)是在utssdk目录构建的原生对象。NativeButton对象内部处理原生view与native-view绑定关联业务 +[NativeButton](#实现nativebutton对象)是在utssdk目录构建的原生对象。NativeButton对象内部处理原生view与native-view绑定关联业务 ```ts