Unit testing means testing individual modules of an application in isolation (without any interaction with dependencies) to confirm that the code is d ...
分类:
其他好文 时间:
2020-07-01 12:21:45
阅读次数:
66
1、transfer树形 经典的用法 <Poptip :transfer="true" confirm title="确定要删除这条记录吗?" @on-ok="ok(row)" @on-cancel="cancel"> <Button type="error" size="small">删除</Bu ...
分类:
其他好文 时间:
2020-06-29 09:30:40
阅读次数:
78
1、K8s是如何运行容器的。 答:k8s是通过定义一个Pod的资源,然后在Pod里面运行容器的。K8s最小的资源单位Pod。 2、如何创建一个Pod资源呢? 答:在K8s中,所有的资源单位都可以使用一个yaml配置文件来创建,创建Pod也可以使用yaml配置文件。 3、开始,创建一个Pod,先创建一 ...
分类:
Web程序 时间:
2020-06-21 14:10:56
阅读次数:
288
# coding:utf-8# alert操作from selenium import webdriverimport timeurl = "file:///E:/Selenium/弹窗.html"driver = webdriver.Chrome()driver.get(url)time.slee ...
分类:
其他好文 时间:
2020-06-17 13:01:10
阅读次数:
50
1.javascript为我们提供了四种常用的方法: 1)console 控制台打印 2)alert ok框 3)confirm 确定取消框 4)prompt 提示消息框 其中第一种打印,又有5中方法: console.log() 打印日志 console.dir() 打印对象解构(就是控制台中打印 ...
分类:
编程语言 时间:
2020-06-16 23:32:27
阅读次数:
78
BOM:浏览器对象模型(Browser Object Model) confirm("对话框显示的纯文本") confirm()与alert ()、 prompt()区别: alert( ):一个参数,仅显示警告对话框的消息,无返回值,不能对脚本产生任何改变 prompt( ):两个参数,输入对话框 ...
分类:
Web程序 时间:
2020-06-16 20:33:33
阅读次数:
77
1. 依赖文件: bootstrap.js bootstrap-dialog.js bootstrap.css bootstrap-dialog.css 2.代码 BootstrapDialog.confirm({ title : '确认', message : "确认要删除?", type : B ...
分类:
其他好文 时间:
2020-06-15 20:52:02
阅读次数:
161
RabbitMQ事务和Confirm发送方消息确认——深入解读 引言 根据前面的知识(深入了解RabbitMQ工作原理及简单使用、Rabbit的几种工作模式介绍与实践)我们知道,如果要保证消息的可靠性,需要对消息进行持久化处理,然而消息持久化除了需要代码的设置之外,还有一个重要步骤是至关重要的,那就 ...
分类:
其他好文 时间:
2020-06-15 18:07:26
阅读次数:
71
出现原因: 在生成的页面数据中,删除其中一个; 解决方法: 页面中的数据是使用vue -》 v-for 绑定的; 使用的方法为 methods: { dt(index, planDetail) { var a = confirm("确认删除此任务?"); if(a == true){ this.pl ...
分类:
其他好文 时间:
2020-06-15 14:21:50
阅读次数:
262
由于net core在IIS上运行需要安装对应的Hosting文件,以前的服务器是windows server 2016 安装过程中没有此问题。此次客户提供的是windows server 2012 r2服务器。 net core runtime基于vc_redist.x64运行的,所以也就出现了此 ...