今天使用pip命令时报错 我输入pip,出现/bin/python: bad interpreter: No such file or directory: 修改pip路径为python的路径 ...
分类:
编程语言 时间:
2020-12-30 10:47:44
阅读次数:
0
需要用iframe引用一个外部的url。 直接使用接口获取到url,给iframe的src赋值时,报了个RROR Error: unsafe value used in a resource URL context.大概的意思就是资源url不安全 然而我们自己的项目里面有人使用过iframe,果断搜 ...
分类:
其他好文 时间:
2020-12-30 10:43:53
阅读次数:
0
问题: 引用友盟OpenAPI的SDK时 , 拆分思想是 将模块单独放置在 一个模块中 , springmvc maven 管理的项目 ,所以在resources 中增加了lib 文件夹 用来存放第三方jar包 表现 在springmvc 中 引用对应的j 模块 与依赖关系 启动 异常 ,仔细查看后 ...
分类:
编程语言 时间:
2020-12-30 10:43:27
阅读次数:
0
问题:当手机上安装好Autojs app,连接电脑端vscode 时报错:failed to connect to 192.168.2.8:9317 总是连接失败。 解决方法:手机打开热点共享,让电脑连接手机共享的wifi热点。然后在电脑上cmd窗口输入:ipconfig 查看当前电脑的ip。vsc ...
分类:
Web程序 时间:
2020-12-28 11:01:12
阅读次数:
0
浏览器报错内容: vue-router.esm.js?8c4f:2008 Uncaught (in promise) NavigationDuplicated: Avoided redundant navigation to current location: "/order". 解决方法一: // ...
分类:
其他好文 时间:
2020-12-22 11:59:20
阅读次数:
0
vscode undefined reference to `_imp__WSAStartup@8' 使用vscode和g++编译.cpp时,报出如题错误,如下图: 查了百度之后,在.vscode/tasks.json文件中添加"-lws2_32",如图: 添加的位置一定要对,博主之前就添加在输出文 ...
分类:
其他好文 时间:
2020-12-18 13:18:44
阅读次数:
3
#排查方法 1.启动时报错 打开error.log(错误日志) 一般都是配置完后没有写分号,或者少大括号 tail -f /var/log/nginx/error.log 2.接入时或者能访问的时候 打开access.log(接入日志) 一般都是查看各种情况和状态码 tail -f /var/log ...
分类:
其他好文 时间:
2020-12-17 12:13:11
阅读次数:
2
新服务器 git clone php项目时报错 [root@10-10-5-60 php]# git clone http://xxx/xxx/php.git Cloning into 'php'... remote: Counting objects: 91687, done remote: Fi ...
分类:
其他好文 时间:
2020-12-16 11:42:57
阅读次数:
3
开发环境运行中,每次修改项目代码后都必须重新打包、重新运行。 解决: 下载依赖包: yarn add -D webpack-dev-server 配置命令: "dev": "webpack-dev-server --mode development" 执行命令: yarn dev 但执行命令时报错E ...
分类:
Web程序 时间:
2020-12-15 11:40:12
阅读次数:
4
在vue项目开发过程中,为了方便在各个组件中调用axios,我们通常会在入口文件将axios挂载到vue原型身上,如下:main.ts import Vue from 'vue' import axios from './utils/http' Vue.prototype.$axios = axio ...
分类:
移动开发 时间:
2020-12-14 13:30:26
阅读次数:
9