
简介
该用户还未填写简介
擅长的技术栈
未填写擅长的技术栈
可提供的服务
暂无可提供的服务
H5APP中使用vue拨打用户电话
简单粗暴调用函数直接调用这个函数就可以了,//拨打电话GetPhone(){if (window.plus) {plus.device.dial(‘要拨打的电话号’, true);}},这个弹窗是基于vux,要用弹窗的话可以下载vux,不要的话不用往下看了,手机号我也不知道谁的,看见了...
antd4中Form组件initialValues设置初始值无效,使用setFieldsValue动态赋值,getFieldsValus动态获取值
首先说明initialValues这个属性,这个属性antd官方给的是设置Form组件初始值,但是有个问题如果值从后端请求那么initialValues可能会设置不上,如果说用匿名组件的话,修改From组件会导致一系列问题,接下来就是用到了setFieldsValue和getFieldsValus属性在antd官网中说明form组件不能使用this.setState修改值,只能通过setField
uni-app使用getPhoneNumber接口
uni-app按照官方写法 ,始终报错 ,连续踩坑<button open-type="getPhoneNumber" bindgetphonenumber="getPhoneNumber"> </button>Component "pages/login/login" does not have a method "getPhoneNumber" to handle...
到底了







