计划:设计地铁收费系统 时间:5 分钟 需求分析:从地铁的起始站到地铁的终点站收费 时间:5 分钟 设计文档:label button comboBox 时间:5 分钟 设计复审:尹肖剑复审 时间:10 分钟 代码规范:使用驼峰式命名 时间:5 分钟 具体设计:收费前三站按起步价收费后每过一站加收0 ...
分类:
其他好文 时间:
2021-04-12 12:46:10
阅读次数:
0
1 def find_worldByName(c_name,continent): 2 print(c_name) 3 print(continent) 4 sql = " SELECT * FROM world WHERE 1=1 " 5 if(c_name!=None): 6 sql=sql+" ...
分类:
数据库 时间:
2021-04-12 12:45:06
阅读次数:
0
之前也讲过了,actions中是用来操作异步代码的,由于在mutations写异步操作会导致devtools工具记录不到state的变化,因此才有actions的存在,下面是基本的使用,如下: 点击按钮,发布到actions: <template> <div> <button @click="toA ...
分类:
其他好文 时间:
2021-04-12 11:52:14
阅读次数:
0
在之前也演示过了mutation的基本使用,里面是定义一系列的函数,但函数的组成部分是有讲究的,如下: 因此,在commit提交的时候,参数1是事件类型。那如何给mutation的方法传入参数呢?也挺简单的,如下: 传入字符串或常量时: <template> <div> <button @click ...
分类:
其他好文 时间:
2021-04-12 11:40:26
阅读次数:
0
HTML <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" conten ...
分类:
Web程序 时间:
2021-04-10 13:29:37
阅读次数:
0
查看磁盘剩余容量,一定要注意磁盘剩余容量。如果容量不足可能会导致web服务异常,mysql服务无响应等。 df -h 查询磁盘100M以上的文件 find / -type f -size +100M -print0 | xargs -0 du -h | sort -nr 查看定时任务 crontab ...
分类:
系统相关 时间:
2021-04-09 13:40:10
阅读次数:
0
报错提示 今天,在复习整理Ui自动化的东西,学习selenium的时候,要先进行安装浏览器驱动;安装好了之后,跑一下,报错 :selenium.common.exceptions.WebDriverException: Message: unknown Error: cannot find Chro ...
分类:
其他好文 时间:
2021-04-09 13:29:22
阅读次数:
0
已知一个长度为 n 的数组,预先按照升序排列,经由 1 到 n 次 旋转 后,得到输入数组。例如,原数组 nums = [0,1,2,4,5,6,7] 在变化后可能得到: 若旋转 4 次,则可以得到 [4,5,6,7,0,1,2] 若旋转 4 次,则可以得到 [0,1,2,4,5,6,7] 注意,数 ...
分类:
编程语言 时间:
2021-04-08 13:56:57
阅读次数:
0
1、查找/var目录下属主为root,且属组为mail的所有文件 有目录没有文件,-type f [14:29:30 root@centos7 ~]#find /var -user root -a -group mail -ls 67142179 4 drwxrwxr-x 2 root mail 4 ...
分类:
其他好文 时间:
2021-04-08 13:25:06
阅读次数:
0
在centos7.5中解决bash: pip:command not find 问题 [root@localhost ~]# python get-pip.py Hi there! The URL you are using to fetch this script has changed, and ...
分类:
其他好文 时间:
2021-04-08 13:04:02
阅读次数:
0