会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
lude1994
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
7
8
···
20
下一页
2021年8月28日
flutter使用支付宝组件tobias
摘要: 使用支付宝组件tobias有个好处,就是可以判断是否安装了支付宝 关于原生配置,需要参考支付宝的另一个组件: sy_flutter_alipay ,我用这个tobias组件没有对原生进行配置,因为在用sy_flutter_alipay已经配置过了 如果在第一次使用组件tobias,可能会有以下报错,
阅读全文
posted @ 2021-08-28 20:34 lude1994
阅读(1399)
评论(0)
推荐(0)
2021年8月27日
Flutter组件 底部ios弹框
摘要: 需要写在事件中 onTap: () { showCupertinoModalPopup( context: context, builder: (context) { return CupertinoActionSheet(// title: Text('', style: TextStyle(fo
阅读全文
posted @ 2021-08-27 21:14 lude1994
阅读(94)
评论(0)
推荐(0)
2021年8月17日
vue 使用elementui上传文件到后台
摘要: <el-upload class="upload-demo" ref="upload" action="http://192.168.1.4:8082/fanliorder/dealEleOrder/" :on-preview="handlePreview" :on-remove="handleRe
阅读全文
posted @ 2021-08-17 21:07 lude1994
阅读(2304)
评论(0)
推荐(0)
2021年8月4日
微信小程序跳转为小程序
摘要: wx.navigateToMiniProgram({ appId: 'wxde8ac0a21135c07d', path: e.currentTarget.dataset.miniurl, extraData: { foo: 'bar' }, envVersion: 'release', succe
阅读全文
posted @ 2021-08-04 19:03 lude1994
阅读(85)
评论(0)
推荐(0)
微信小程序带参数返回上一页面
摘要: 参考:https://blog.csdn.net/qq_38290251/article/details/82911840 当前页面 var pages = getCurrentPages(); //当前页面 var prevPage = pages[pages.length - 2]; //上一页
阅读全文
posted @ 2021-08-04 13:50 lude1994
阅读(356)
评论(0)
推荐(0)
js 数组对象去重
摘要: unique(arr){ for(var i=0; i<arr.length; i++){ for(var j=i+1; j<arr.length; j++){ if(arr[i].index==arr[j].index){ //第一个等同于第二个,splice方法删除第二个 arr.splice(
阅读全文
posted @ 2021-08-04 10:13 lude1994
阅读(56)
评论(0)
推荐(0)
2021年8月3日
axios vue封装请求
摘要: 有参考,忘记地址了 创建一个api文件,将请求的都放在这个文件里 1.request.js /**axios封装 * 请求拦截、相应拦截、错误统一处理 */ import axios from 'axios';import QS from 'qs'; // import { Toast } from
阅读全文
posted @ 2021-08-03 14:57 lude1994
阅读(20)
评论(0)
推荐(0)
2021年7月31日
微信小程序版本号
摘要: const accountInfo = wx.getAccountInfoSync(); console.log(accountInfo.miniProgram.version) // 插件版本号, 'a.b.c' 这样的形式
阅读全文
posted @ 2021-07-31 11:13 lude1994
阅读(307)
评论(0)
推荐(0)
2021年7月27日
Vuejs Cannot read property 'use' of undefined error
摘要: vue3.0的出现这个问题,2.0版本的就可以解决
阅读全文
posted @ 2021-07-27 17:05 lude1994
阅读(213)
评论(0)
推荐(0)
You are using the runtime-only build of Vue where the template compiler is not available. Either pre-compile the templates into render functions, or use the compiler-included build
摘要: 参考:https://blog.csdn.net/wxl1555/article/details/83187647 可实现: main。js new Vue({ router, store, render: h => h(App) }).$mount("#app")
阅读全文
posted @ 2021-07-27 17:04 lude1994
阅读(49)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
8
···
20
下一页
公告