摘要: 简介在a56爆大奖在线娱乐们日常使用中,经常会遇到需要去除前缀得情形,比如a56爆大奖在线娱乐们在做多个服务项目时,在nginx中a56爆大奖在线娱乐们需要把https://moonce.com/user-api/permission?userId=1 转发到 http://localhost:8089/permission?userId=1 完整代理 阅读全文
posted @ 2022-06-14 17:32 郑州谷多软件 阅读(673) 评论(0) 推荐(0) 编辑
摘要: 项目场景: vite、ts、vue3、element-plus、axios等技术的开发的后台管理系统。 问题描述 在开发中遇到一个问题,就是main.ts已经全局注册了ElementPlus,但是在业务开发的vue页面中,一些element-plus的el-row、el-card等提示JSX元素类型 阅读全文
posted @ 2022-06-08 09:46 郑州谷多软件 阅读(747) 评论(0) 推荐(0) 编辑
摘要: 曾经看过国外的程序猿这么评价C/C++:想要精通C/C++,就跟要精通中文一样难,至少需要你努力三年。 提到C/C++语言很多初学者都觉得,学到中间就进行不下去了,但是如果你最难啃的那几块硬骨头拿下,一切都会顺畅许多,而且C++诞生很久了,因此有大量可以免费阅读编程文档。近日,在Quora上发现一份 阅读全文
posted @ 2022-05-31 10:34 郑州谷多软件 阅读(94) 评论(0) 推荐(0) 编辑
摘要: 点击【 Font class 】- 【 下载至本地 】,解压之后导入到项目【/src/assets/icon】,这个是【iconfont.css】文件。 然后在main.js中导入 import '@/assets/icon/iconfont.css' 然后引用就行 <span class="ico 阅读全文
posted @ 2022-05-14 11:47 郑州谷多软件 阅读(404) 评论(0) 推荐(0) 编辑
摘要: //key为string , value为numbervar map: { [key: string]: number; } = { "t" : 3, "o" : 5, "g" :10};for(let k in map){ console.log(map[k]);} 阅读全文
posted @ 2022-05-11 16:51 郑州谷多软件 阅读(637) 评论(0) 推荐(0) 编辑
摘要: 开发时偶尔会需要前端传客户端的ip地址,以下api可以获取客户端外网ip。访问跨域可配置前端proxy代理 1、http://ip.42.pl/raw a56爆大奖在线娱乐访问不到 2、https://whois.pconline.com.cn/ipJson.jsp?json=true 查询IP的归属地,后面跟IP, 阅读全文
posted @ 2022-04-23 15:12 郑州谷多软件 阅读(486) 评论(1) 推荐(0) 编辑
摘要: yarn global dir# Yarn安装包位置 C:\Users\xxx\AppData\Local\Yarn\global\node_modules\.bin # 缓存位置 C:\Users\xxx\AppData\Local\Yarn\Cache # 修改yarn安装包的位置 yarn c 阅读全文
posted @ 2022-04-20 14:49 郑州谷多软件 阅读(187) 评论(0) 推荐(0) 编辑
摘要: in ./node_modules/screenfull/index.js Module parse failed: Unexpected token (55:42) You may need an appropriate loader to handle this file type, curre 阅读全文
posted @ 2022-04-16 16:42 郑州谷多软件 阅读(1154) 评论(1) 推荐(0) 编辑
摘要: // typings.d.ts declare module '*.json' { const value: any; export default value; } 在项目的根目录中找到的tsconfig.json文件,然后添加一个新行:“resolveJsonModule”:true, 需要在t 阅读全文
posted @ 2022-04-14 18:43 郑州谷多软件 阅读(1813) 评论(0) 推荐(0) 编辑
摘要: 在使用ts开发时,引入图片报错 import img from '../../assets/images/logo.png'; 找不到模块“../../assets/images/foo.png”或其相应的类型声明。 因为typescript无法识别非代码资源。a56爆大奖在线娱乐们需要主动的去声明这个module 阅读全文
posted @ 2022-04-14 18:42 郑州谷多软件 阅读(3053) 评论(0) 推荐(0) 编辑