简介
该用户还未填写简介
擅长的技术栈
可提供的服务
暂无可提供的服务
<el-uploadclass="avatar-uploader"action="https://jsonplaceholder.typicode.com/posts/":show-file-list="false":on-success="handleAvatarSuccess":before-upload="beforeAvatarUpload">...
简单粗暴调用函数直接调用这个函数就可以了,//拨打电话GetPhone(){if (window.plus) {plus.device.dial(‘要拨打的电话号’, true);}},这个弹窗是基于vux,要用弹窗的话可以下载vux,不要的话不用往下看了,手机号我也不知道谁的,看见了...
下载什么不多说了。创建好你的文件夹再main.js中注册之后要多少个仓库就在store文件下继续创建js文件,js文件中写:之后再index.js中引入例如我这个plc就是我的一个仓库引入进来需要获取vuex里面的值:this.$store.state.plc.xxx不同的仓库不同的名字调用vux方法:this.$store.commit('plc/xxx')...
**简单使用:**主要代码initWebSocket() {const wsuri = `ws:url`;this.websock = new WebSocket(wsuri);//这里面的this都指向vuethis.websock.onopen = this.websocketopen;this...
一、VUE里安装QRCode.js包npm i qrcodejs2二、引入qrcodejs2包import QRCode from 'qrcodejs2'具体实现代码片段<template><div id="qrcode" ref="qrcode"></div></template><script>im...
<el-uploadclass="avatar-uploader"action="https://jsonplaceholder.typicode.com/posts/":show-file-list="false":on-success="handleAvatarSuccess":before-upload="beforeAvatarUpload">...
<input type="file" @change="loadTextFromFile">loadTextFromFile(e){const file = e.target.files[0];const reader = new FileReader();reader.onload = e => th...
<input type="file" ref="upload" accept=".xml" @change="executorListchange" id="file_executor" class="outputlist_upload">executorListchange(){this.readXML();},readXML() {...
<input type="file" ref="upload" accept=".xml" @change="executorListchange" id="file_executor" class="outputlist_upload">executorListchange(){this.readXML();},readXML() {...
uni-app按照官方写法 ,始终报错 ,连续踩坑<button open-type="getPhoneNumber" bindgetphonenumber="getPhoneNumber"> </button>Component "pages/login/login" does not have a method "getPhoneNumber" to handle...