会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Li Essay
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
3
4
5
6
7
8
9
10
11
···
22
下一页
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
阅读(342)
评论(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
阅读(1442)
评论(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
阅读(1184)
评论(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
阅读(1976)
评论(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
阅读(172)
评论(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
阅读(885)
评论(0)
推荐(0)
element后端管理布局
摘要: <template> <el-container> <el-header> <Header></Header> <span class="Slogan">中间广告语</span> <span class="welcome">登录用户</span> </el-header> <el-container
阅读全文
posted @ 2020-11-20 15:35 liessay
阅读(209)
评论(0)
推荐(0)
Element NavMenu动态生成导航菜单
摘要: 为了演示方便,不从数据库获取了 { "data":[ { "id":125, "authName":"用户管理", "path":"users", "children":[ { "id":110, "authName":"用户列表", "path":"users", "children":[ ],
阅读全文
posted @ 2020-11-20 13:37 liessay
阅读(4454)
评论(0)
推荐(0)
2020年7月5日
Abp Vnext3 vue-admin-template(三获取用户信息)
摘要: 因为获取用户比较简单,只需要把用户名及头像地址赋值即可(也许理解错误,如果发现请告知谢谢), 首先将src\api\usr.js中的url请求地址改为以下代码 export function getInfo(token) { return request({ url: '/api/abp/appli
阅读全文
posted @ 2020-07-05 12:44 liessay
阅读(1225)
评论(0)
推荐(1)
Abp Vnext3 vue-admin-template(二用户退出)
摘要: 先修改用户退出,中午有点困先改简单的 退出代码在src\layout\components\Navbar.vue代码如下,讲流程这里不需要修改 methods: { toggleSideBar() { this.$store.dispatch('app/toggleSideBar') }, asyn
阅读全文
posted @ 2020-07-05 12:20 liessay
阅读(1497)
评论(0)
推荐(1)
上一页
1
···
3
4
5
6
7
8
9
10
11
···
22
下一页
公告