会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
lude1994
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
7
8
9
10
···
20
下一页
2021年6月12日
微信小程序的onload页面加载先于onLaunch 加载,导致登录获取数据有问题
摘要: 参考:https://blog.csdn.net/txqd1989/article/details/79096415 本文采用第二种方法,使用异步Promise来解决页面加载完成后却拿不到storage中的内容,页面加载在登录前 本文讲的是登录获取不到数据的问题及登录步骤 1.在app.js创建方法
阅读全文
posted @ 2021-06-12 11:33 lude1994
阅读(1838)
评论(0)
推荐(0)
2021年6月7日
微信小程序简单封装获取定位
摘要: var app = getApp(); var request = require("../utils/request") // 获取定位 function getAddress(that) { var userinfo = wx.getStorageSync('userinfo') // user
阅读全文
posted @ 2021-06-07 09:27 lude1994
阅读(142)
评论(0)
推荐(0)
2021年6月6日
微信小程序父组件使用子组件并传参
摘要: 1.创建一个子组件colNav 2.将创建的子组件中的js文件的Page改成Component,必要 3.在子组件的json文件中,设置"component": true { "usingComponents": {}, "component": true } 4.子组件接收父组件传来的参数,在js
阅读全文
posted @ 2021-06-06 08:34 lude1994
阅读(301)
评论(0)
推荐(0)
2021年6月5日
微信小程序打开客服会话
摘要: <button type="primary" open-type="contact">在线咨询</button> 关键在 open-type="contact"仅真机有效
阅读全文
posted @ 2021-06-05 15:36 lude1994
阅读(368)
评论(0)
推荐(0)
2021年6月1日
flutter 之BottomNavigationBar属性
摘要: 参考:jianshu.com/p/22d8974c5e04 https://www.jianshu.com/p/61bb3784c6ad return Scaffold( backgroundColor: Color(0xfff6f6f6), bottomNavigationBar: BottomN
阅读全文
posted @ 2021-06-01 16:40 lude1994
阅读(322)
评论(0)
推荐(0)
2021年5月15日
flutter StaggeredGridView.countBuilder 上方取消空白
摘要: 增加 padding: EdgeInsets.zero,
阅读全文
posted @ 2021-05-15 16:05 lude1994
阅读(174)
评论(0)
推荐(0)
2021年5月1日
flutter升级、回退到指定版本---mac版
摘要: 1.在终端输入以下,查看flutter安装的路径 echo $path 升级到最新版本:flutter upgrade 升级到指定版本:flutter upgrade [版本号] 例如: flutter upgrade 2.0.3 版本回退 1. 进入 flutter github 找到要回退的版本
阅读全文
posted @ 2021-05-01 20:46 lude1994
阅读(1519)
评论(0)
推荐(0)
2021年4月15日
Vue中class与style
摘要: <div id="box"> <div :class="classobj">动态切换class--对象写法</div> <div :class="classarr">动态切换class--数组写法</div> <div :style="styleobj">动态切换style--对象写法</div>
阅读全文
posted @ 2021-04-15 20:21 lude1994
阅读(58)
评论(0)
推荐(0)
2021年4月8日
flutter ios打包流程
摘要: 1.去苹果开发者中心注册一个app ,必须要注册 https://developer.apple.com/account/#/app-store-connect/U8M36MBK6A 2.注册证书 Certificates 3.在打包flutter 的ios包前需要执行 flutter build
阅读全文
posted @ 2021-04-08 16:58 lude1994
阅读(1705)
评论(0)
推荐(0)
flutter ios打包显示Module 'xxx' not found
摘要: 参考:https://blog.csdn.net/llh_llh_/article/details/108272745 一:请先确认您的MACBOOK上面已经安装pods并在项目的ios目录下面进行pos install。 二:如果是在运行模拟器时出现 Module '… ’ not found。您
阅读全文
posted @ 2021-04-08 16:32 lude1994
阅读(3426)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
8
9
10
···
20
下一页
公告