组件什么版本在插件市场通过Hbuilder导入控制台是否有报错 ?我这测试正常没有报错,你打包成apk试下,我就是打包之后安装到实体机上不行…------------------ 原始邮件 ------------------ 发件人: ***@***.***>; 发送时间: 2021年12月29日(星期三) 中午11:22 收件人: "dcloudio/uni-app";
import uniDrawer from 'dcloudio/uni-ui/lib/uni-drawer/uni-drawer.vue' export default { ponents: { uniDrawer }, data() { return { showDrawer: false, position: 'left' } }, methods: { closeDrawer() { this.showDrawer = false } } } ``` 3. 在需要触发抽屉显示的地方(如button按钮...
4、在页面**.vue文件中加入如下代码 painting是需要传入的json。getImage方法是绘图完成之后的回调函数,在event.detail中返回绘制完成的图片地址。 当前栗子中的painting简单展示一下。详细配置请看 [API] {width:375,height:555,views:[{type:'image',url:'https://hybrid...
Merge branch 'master' of https://github.com/quanweiwang/uniapp-canvas… … quanweiwang committed Oct 19, 2019 27cbe37 Update index.vue quanweiwang committed Oct 19, 2019 d7f284a Update README.md quanweiwang committed Oct 19, 2019 Verified 4acfc4d 修复已知bug … quanweiwang ...
closeDrawer() { this.$refs["showLeft"].close(); } } }; vue3写法 <viewclass="example-body"><view class="showDrawer" @click="showDrawer('showLeft')" style="margin: 10px;"><uni-tag:inverted="true"text="按职位筛选"type="primary"/></view><uni-drawer ref="showLeft"mode="left"...