摘要: 一、VUE中操作 展示: 代码如下: 1 <template> 2 <div > 3 <el-row style="height:40px" type="flex"> 4 <el-col :span="3"> 5 <el-button type="button" @click="show()">点击 阅读全文
posted @ 2019-12-22 17:57 菜小鱼~ 阅读(1698) 评论(0) 推荐(0) 编辑
摘要: 背景: 使用rf遇到的一些问题汇总 一:跑WEBUI的时候报错: [ WARN ] Keyword 'Capture Page Screenshot' could not be run on failure: Multiple keywords with name 'Capture Page Scr 阅读全文
posted @ 2019-12-18 16:48 菜小鱼~ 阅读(1700) 评论(0) 推荐(0) 编辑
摘要: 背景: 时间字段展示默认值,开始时间为当天 0点,结束时间为当天晚上12点 代码: 1 <input style="Width: 180px;float:left ;" type="date" id="start_time" 2 name="start_time" placeholder="请选择具 阅读全文
posted @ 2019-12-14 18:01 菜小鱼~ 阅读(2422) 评论(0) 推荐(0) 编辑
摘要: 弹框展示: 代码: 1 <template> 2 <div> 3 <el-col :span="9" style="text-align: right;"> 4 <el-button @click="dialogVisible=true" 5 style="text-align: right;fon 阅读全文
posted @ 2019-12-14 15:27 菜小鱼~ 阅读(11592) 评论(0) 推荐(0) 编辑
摘要: 背景: 本来robot framework的安装应该放在一开始写的,因写博客的时候已经装过了,恰巧重装系统又重装了一遍RF RF推荐使用python2, 使用3的话会遇到一些页面非友好的问题 需要的安装包可在官网下载,也可以使用网盘中的包 链接:https://pan.baidu.com/s/1sq 阅读全文
posted @ 2019-12-13 19:41 菜小鱼~ 阅读(239) 评论(0) 推荐(0) 编辑
摘要: 背景: 电脑重装后,python也要跟着重装,将安装包、环境变量备份等安装完成后直接安装 重装前 1. pip包备份,命令窗口 1 pip freeze > py2.txt #python2的包 2 pip3 freeze > py3.txt #python3的包 2.环境变量备份,命令窗口 1 s 阅读全文
posted @ 2019-12-13 18:50 菜小鱼~ 阅读(514) 评论(0) 推荐(0) 编辑
摘要: 题目: 根据一个字符串返回一个ip数组,按照ip最后一位排序, 字符串: str = 'ss192.0.0.12?!289.0.0.1!0.0.0.0!192.163.10.28?192.0.0.5' 用了一个笨方法,先取一个ip,然后去掉 前后的非汉字,再去循环取,代码如下: 1 str = 's 阅读全文
posted @ 2019-12-06 18:14 菜小鱼~ 阅读(266) 评论(0) 推荐(0) 编辑
摘要: 执行报错如下: No handlers could be found for logger "apscheduler.executors.default 解决: 加入日志,查看具体报错,载根据具体报错解决 1 import logging 2 3 logging.basicConfig() 阅读全文
posted @ 2019-12-06 16:56 菜小鱼~ 阅读(1703) 评论(0) 推荐(0) 编辑
摘要: 背景: 今天小鱼从0开始配置了下 SQLAlchemy 的连接方式,并查询到了结果,记录下来 需要操作四个地方 1. config 数据库地址 2.init 数据库初始化 3.model 数据库表模型 4.增删改查 用的包:Flask-SQLAlchemy (2.1) 1.config 1 SQLA 阅读全文
posted @ 2019-11-30 17:59 菜小鱼~ 阅读(3622) 评论(0) 推荐(1) 编辑
摘要: 背景: 安装 uwsgi时报错如下,查阅相关资料说是 python-devel的问题,于是安装之后python-devel后问题解决 报错如下: 1 (venv) [xxxxxxx]# pip install uwsgi 2 DEPRECATION: Python 2.7 will reach th 阅读全文
posted @ 2019-11-25 10:05 菜小鱼~ 阅读(1717) 评论(0) 推荐(0) 编辑