上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 26 下一页
摘要: 1.接口配置(路径:~/src/api/user.js) 1)获取用户信息接口(login) 返回Json数据: 2)获取用户信息(getInfo) 这里是通过本地cookie中的token去解析 2.导航栏(路径:~/src/router/index.js) 3.角色权限过滤(路径:~/src/s 阅读全文
posted @ 2021-11-19 11:23 蜗牛的礼物 阅读(1962) 评论(0) 推荐(0) 编辑
摘要: 一、应用程序-》处理映射程序-》添加通配符脚本映射 选择C:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet_isapi.dll 名字随便 二、将应用程序池设置为4.0经典模式 三、将应用程序池-》高级设置-》启用32位应用程序=true 保存,重 阅读全文
posted @ 2021-10-21 17:13 蜗牛的礼物 阅读(619) 评论(0) 推荐(0) 编辑
摘要: 1.开启SqlServer通讯配置 开启Sql Server 通讯配置 sp_configure 'show advanced options', 1; GO RECONFIGURE; GO sp_configure 'Ole Automation Procedures', 1; GO RECONF 阅读全文
posted @ 2021-10-18 16:02 蜗牛的礼物 阅读(1068) 评论(0) 推荐(0) 编辑
摘要: 1.访问接口 我们需要访问接口【http://localhost:28775/api/User/LoginUser】 2.修改 1)修改env.development的【VUE_APP_BASE_API】 2)在vue.config的devServer新增proxy,并且注释掉before prox 阅读全文
posted @ 2021-09-18 10:58 蜗牛的礼物 阅读(2029) 评论(0) 推荐(0) 编辑
摘要: 1.目录结构 2.上代码 1)appsettings.json { "Logging": { "LogLevel": { "Default": "Information", "Microsoft": "Warning", "Microsoft.Hosting.Lifetime": "Informat 阅读全文
posted @ 2021-09-08 11:07 蜗牛的礼物 阅读(222) 评论(0) 推荐(1) 编辑
摘要: 场景:使用日历发现只有英文,想改成中文的日历 1.参照官网 https://element-plus.gitee.io/#/zh-CN/component/i18n 进行全局化配置失败 2.使用 【ConfigProvider】进行配置,后面发现仅仅用来当前页面对单个控件有效,如果放到App.vue 阅读全文
posted @ 2021-08-25 14:38 蜗牛的礼物 阅读(1821) 评论(0) 推荐(0) 编辑
摘要: 前景提要:我在使用import echars from ‘echarts’ 出现 echarts is not defined 1.在cmd打开项目目录,执行 cnpm install echarts -S 安装完毕后,你会在package.json钟看到安装的echarts版本号,如下图所示 2. 阅读全文
posted @ 2021-08-25 11:10 蜗牛的礼物 阅读(318) 评论(0) 推荐(0) 编辑
摘要: 参考官网:https://vant-contrib.gitee.io/vant/#/zh-CN/quickstart 1.安装vant # Vue 3 项目,安装 Vant 3: cnpm i vant@next -S # 安装插件 cnpm i babel-plugin-import -D 注:这 阅读全文
posted @ 2021-07-28 09:39 蜗牛的礼物 阅读(411) 评论(0) 推荐(0) 编辑
摘要: vuex,感觉就像是类似于内存(项目的全局变量)一样的东西,可以直接全局给其他地方的组件使用 1.安装(打开项目,cmd执行) vue add vuex 2.目录结构(发现直接都已经有了store,主要是store里的index.js、main.js-这个已经默认安装好了、demo.vue页) de 阅读全文
posted @ 2021-07-26 22:13 蜗牛的礼物 阅读(58) 评论(0) 推荐(0) 编辑
摘要: 1.事前工作 1)提前安装GitHub下载工具(这里建议在项目文件夹中使用cmd操作-因为git的窗口没法上下选择操作) 2)打开vue-cli官网https://cli.vuejs.org/zh/guide/installation.html 3)使用配置淘宝的国内路径(可以查看https://w 阅读全文
posted @ 2021-07-22 11:28 蜗牛的礼物 阅读(33) 评论(0) 推荐(0) 编辑
上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 26 下一页