会员
周边
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Li Essay
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
3
4
5
6
7
8
9
10
11
···
23
下一页
2020年12月25日
CSS导航菜单(一级菜单)
摘要: index.html <div class="nav"> <ul> <li><a href="#">Java</a></li> <li><a href="#">C#</a></li> <li><a href="#">Python</a></li> <li><a href="#">Go</a>&l
阅读全文
posted @ 2020-12-25 08:40 liessay
阅读(878)
评论(0)
推荐(0)
2020年12月14日
微信小程序开发正常,真机预览模式错误
摘要: 原因是开发时设置了不检查域名是否合法,去后台设置上就可以了
阅读全文
posted @ 2020-12-14 10:51 liessay
阅读(457)
评论(0)
推荐(0)
uniapp获取用户OpenId及用户详情
摘要: 页面增加一个按钮 <button type="default" open-type="getUserInfo" @click="getUserInfo">UserInfo</button> 前端解密 安装 crypto-js npm install crypto-js 下载 WXBizDataCry
阅读全文
posted @ 2020-12-14 09:33 liessay
阅读(11557)
评论(0)
推荐(1)
uniapp 获取用户手机号
摘要: 参考资料: 微信小程序官方文档 uniapp开发微信小程序获取用户手机号 页面增加一个按钮 <button open-type="getPhoneNumber" @getphonenumber="onGetPhoneNumber">唤起授权</button> 前端解密 安装 crypto-js np
阅读全文
posted @ 2020-12-14 09:14 liessay
阅读(13006)
评论(2)
推荐(1)
2020年12月7日
Asp.net Core Jwt简单使用
摘要: .net 默认新建Api项目不需要额外从Nuget添加Microsoft.AspNetCore.Authentication.JwtBearer appsettings.json { "Logging": { "LogLevel": { "Default": "Information", "Micr
阅读全文
posted @ 2020-12-07 15:32 liessay
阅读(365)
评论(0)
推荐(0)
2020年11月28日
npm 淘宝镜像与官方源 切换
摘要: 1.临时使用 npm --registry https://registry.npm.taobao.org install 包名 2.永久设置为淘宝镜像 npm config set registry https://registry.npm.taobao.org 3.换回国外官方源 npm con
阅读全文
posted @ 2020-11-28 12:04 liessay
阅读(1496)
评论(0)
推荐(0)
2020年11月27日
uni-app 登录Abp VNexe并获取Token
摘要: uni.request方式登录abp关键代码如下,因abp获取token需要用formdata方式请求所以需要加上请求头 const baseUrl = 'http://127.0.0.1:44323'; uni.request({ url: baseUrl + '/connect/token',
阅读全文
posted @ 2020-11-27 12:27 liessay
阅读(1231)
评论(0)
推荐(1)
ABP VNext发布遇到的坑
摘要: 本地调试没有问题,发布后通过Token调用其他API时,出现返回JSON中提示:Authorization failed! Given policy has not granted. 需要修改appsettings.json,以下修改成发布后的域名或地址访问就可以了 { "App": { "Self
阅读全文
posted @ 2020-11-27 11:33 liessay
阅读(2024)
评论(0)
推荐(0)
2020年11月26日
模仿商品分类点击效果
摘要: 最近学习uniapp中的scroll-view可实现商品分类点击左边右边联动效果,怕忘了记录一下 <template> <view class="detail"> <view class="left"> <!-- @click="setId(index1)点击设置当前索引为秒点 --> <scrol
阅读全文
posted @ 2020-11-26 14:38 liessay
阅读(197)
评论(0)
推荐(0)
2020年11月20日
Element MenuNav刷新后点击菜单保留选中状态
摘要: 正常情况刷新后选中菜单会失去选中的状态,需要把default-active 当前激活菜单的 index保存下来这样刷新后读取 methods方法中增加 getSess() { this.active = window.sessionStorage.getItem("active"); }, setS
阅读全文
posted @ 2020-11-20 16:08 liessay
阅读(924)
评论(0)
推荐(0)
上一页
1
···
3
4
5
6
7
8
9
10
11
···
23
下一页
公告