错误信息如下: ErrorTraceback (most recent call last): File "D:\python37\lib\unittest\case.py", line 59, in testPartExecutor yield File "D:\python37\lib\unit ...
分类:
其他好文 时间:
2020-02-29 12:57:56
阅读次数:
154
一、函数名的应用 def func(): print(666)1.函数名就是内存地址print(func)#<function func at 0x0000025DB9BFD268>2.函数名可以作为变量 def func1(): print(666)f1 = func1f2 = f1f2()#66 ...
分类:
编程语言 时间:
2020-02-28 20:28:26
阅读次数:
49
用过vue组件的前端同学应该都遇到过一个问题,就是在当前页的组件有自定义样式,而用了scoped编译出的样式对组件内部并不起作用,最后要写全局样式才能有效,但是可能会污染到其他组件,其实我们可以用/deep/来解决此问题。 关于scoped请查看:https://www.cnblogs.com/vi ...
分类:
Web程序 时间:
2020-02-26 19:10:11
阅读次数:
126
//建议不要用cnpm 安装有各种诡异的bug 可以通过如下操作解决npm速度慢的问题npm install --registry=https://registry.npm.taobao.org 试过上面方法还不行的同学 ,可以把package.json中的node-scss依赖改为:"node-s ...
分类:
其他好文 时间:
2020-02-25 19:55:40
阅读次数:
57
一、引入依赖 <!-- 核心启动器 --> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter</artifactId> </dependency> <dependency> ...
分类:
编程语言 时间:
2020-02-24 15:22:25
阅读次数:
90
https://www.fujieace.com/php/open_basedir.html 宝塔面板出现“require(): open_basedir restriction in effect. ”的解决方法 宝塔面板出现“require(): open_basedir restriction ...
分类:
其他好文 时间:
2020-02-24 13:12:58
阅读次数:
111
第一步:安装 vue-cli3 npm install -g @vue/cli第二步: 创建 工程 vue create my-shop第三步:配置eslint下载 :npm install eslint-loader --save-dev; 下载 npm install eslint --save ...
分类:
移动开发 时间:
2020-02-23 18:39:17
阅读次数:
410
引言 很多人都知道,目前市场上很多自动化测试工具,比如:Jmeter,Postman,TestLink等,还有一些自动化测试平台,那为啥还要开发接口自动化测试框架呢?相同之处就不说了,先说一下工具的局限性: 1.测试数据不可控: 接口虽然是对业务逻辑、程序代码的测试,而实际上是对数据的测试,调用接口 ...
分类:
编程语言 时间:
2020-02-23 16:39:39
阅读次数:
215
问题: npm WARN stylus-loader@3.0.2 requires a peer of stylus@>=0.52.4 but none is installed. You must install peer dependencies yourself. 解决办法: 1、在packa ...
分类:
其他好文 时间:
2020-02-23 00:00:40
阅读次数:
120
我使用官方文档提供的配置sass全局变量,但是报错! vue.config.js代码如下: module.exports = { css: { loaderOptions: { sass: { data: `@import "~@/assets/scss/variables.scss";`, }, ...
分类:
Windows程序 时间:
2020-02-22 22:14:14
阅读次数:
1344