08 2020 档案
摘要:<van-uploader v-model="fileList" multiple :after-read="afterRead" :max-count="1" /> 2: afterRead(file){ if(this.fileList.length > 1){ this.fileList.sp
阅读全文
摘要:<van-uploader v-model="fileList" multiple :after-read="afterRead" :max-count="1" /> 1:上传文件流,提交的模式 肯定得 form-data模式 2:上传的文件file 做出处理我这里做的只能选择一张 afterRea
阅读全文
摘要:在VUE里面需要注意的第一个问题就是路由得设置成 2:第二个就是 跳转路由的时候 不要用this.$router.push 或者this.$router.replace 前者在ios 和安卓端都调不起来的 后者只能在安卓端有效 在ios端无效 this.$router.push的效果图 测试工具上是
阅读全文
摘要:1:html2canvas官网 首先去官网把这个JS下载下来 <!DOCTYPE html> <html lang="en"> <head> <title> </title> <meta name="renderer" content="webkit"> <meta http-equiv="X-UA
阅读全文
摘要:父组件中当点击搜索的时候请求接口,然后把新的数据用 computed 传递给子组件<van-search v-model="onSeachPhone" show-action placeholder="请输入电话号码后四位" @search="onSearchPhone" @clear="onCan
阅读全文
摘要:1:父组件 子组件 子组件利用 props 接收父级传过来的数值。子组件选中的数值返回父亲当中利用 钩子函数 $emit('函数名',传过去的数值)
阅读全文

浙公网安备 33010602011771号