程序版本 程序 版本 metallb v0.9.6 treafik v2.4.8 安装metallb 安装helm https://helm.sh/docs/helm/helm_install/ 配置metallb # metallb-custom-values.yaml configInline: ...
分类:
Web开发 时间:
2021-05-27 22:12:21
收藏:
0 评论:
0 赞:
0 阅读:
38
有一说一,上一篇写到关于响应性的问题,该部分内容拿到这边整理难度较大,所以还是遵循顺序,先整理简单地部分,之后再整合起来。 在动态组件上使用keep-alive 来看一个例子: 我们之前曾经在一个多标签的界面中使用 is attribute 来切换不同的组件: <component :is="cur ...
分类:
Web开发 时间:
2021-05-27 22:10:17
收藏:
0 评论:
0 赞:
0 阅读:
29
//先引入http const http = require('http') const querystring=require('querystring') //url字符串格式化模块 const server = http.createServer((req, res) => { const u ...
分类:
Web开发 时间:
2021-05-27 22:10:04
收藏:
0 评论:
0 赞:
0 阅读:
32
脚本实现:详见黄色高亮显示部分 web_reg_save_param("queryResponseBody", "LB=", "RB=", "Search=Body", LAST); web_custom_request("queryScene", "URL=http://10.248.57.226 ...
分类:
Web开发 时间:
2021-05-27 22:08:59
收藏:
0 评论:
0 赞:
0 阅读:
41
model代码如下: @OneToMany(fetch=FetchType.EAGER, cascade = CascadeType.ALL) @Where(clause="isValid=1 and orderType=1") @JoinColumn(name = "orderUUID", ref ...
分类:
Web开发 时间:
2021-05-27 22:06:12
收藏:
0 评论:
0 赞:
0 阅读:
17
<meta charset="UTF-8"><meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/><meta name="viewport" content="width=device-width, initial-scale= ...
分类:
Web开发 时间:
2021-05-27 18:25:38
收藏:
0 评论:
0 赞:
0 阅读:
24
作者:fredalxin 地址:https://fredal.xin/deploy-zk-with-k8s 随着云原生化流行的大趋势,我们的基础组件也需要逐渐上Kubernetes了。Apache Zookeeper作为目前最流行的分布式协调组件,在我们的微服务架构中负责扮演注册中心的角色。 在Ku ...
分类:
Web开发 时间:
2021-05-27 18:22:08
收藏:
0 评论:
0 赞:
0 阅读:
20
Log4.net Helper工具类 一、Config文件配置 <?xml version="1.0" encoding="utf-8" ?> <configuration> <configSections> <section name="log4net" type="log4net.Config. ...
分类:
Web开发 时间:
2021-05-27 18:20:54
收藏:
0 评论:
0 赞:
0 阅读:
14
工具:vs2019 sql server2012 链接sqlserver,创建数据库 NewMvc 在web.config下编写连接字符串(ConnectionString) <connectionStrings> <add name="conn" connectionString="data so ...
分类:
Web开发 时间:
2021-05-27 18:17:54
收藏:
0 评论:
0 赞:
0 阅读:
11
1 xhr 实现 1 <!DOCTYPE html> 2 <html lang="en"> 3 <head> 4 <meta charset="UTF-8" /> 5 <meta http-equiv="X-UA-Compatible" content="IE=edge" /> 6 <meta na ...
分类:
Web开发 时间:
2021-05-27 17:02:45
收藏:
0 评论:
0 赞:
0 阅读:
28
1:通过弹窗的形式来输出 alert(123) alert(“内容”)//第二种:confirm(123);//弹窗上会有取消按钮//第三种:prompt(123);//弹窗上有输入框 2:通过网页内容区域的方式来输出 document.write(123);//将123写入网页的body当中 3: ...
分类:
Web开发 时间:
2021-05-27 17:02:21
收藏:
0 评论:
0 赞:
0 阅读:
21
Event loop 在上图中可以看到,setTimeout这类异步接口实际上不在JS引擎中,而是由浏览器中的Web(图中的V8是chrome中的JS引擎,safari、firefox则是各自的引擎,参考《主流浏览器内核及JS引擎》) setTimeout(() => console.log(1) ...
分类:
Web开发 时间:
2021-05-27 16:57:22
收藏:
0 评论:
0 赞:
0 阅读:
42
1.直接贴代码 运行即可 <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport ...
分类:
Web开发 时间:
2021-05-27 16:55:36
收藏:
0 评论:
0 赞:
0 阅读:
19
1.解释JavaScript中定时器的工作?如果有,也可以说明使用定时器的缺点? setTimeout(function,delay)函数用于启动在所述延迟之后调用特定功能的定时器。 setInterval(function,delay)函数用于在提到的延迟中重复执行给定的功能,只有在取消时才停止。 ...
分类:
Web开发 时间:
2021-05-27 16:52:03
收藏:
0 评论:
0 赞:
0 阅读:
13
使用selenium、webdriver打开谷歌浏览器,登录页面后闪退,但是版本号是对应的,是因为driver的全局变量问题 1、不设置driver为全局,放在函数内(会闪退) from selenium import webdriver # 登陆百度 def main(): chromedrive ...
分类:
Web开发 时间:
2021-05-27 16:49:56
收藏:
0 评论:
0 赞:
0 阅读:
35
HttpClient 4.5版本设置连接超时时间-CloseableHttpClient设置Timeout(区别于4.3.2) HttpClient升级到4.5版本后,API有很多变化,HttpClient 4之后,API一直没有太稳定,我感觉4.5版本抽象后,很多API应该快稳定了。 使用Http ...
分类:
Web开发 时间:
2021-05-27 16:49:07
收藏:
0 评论:
0 赞:
0 阅读:
28
export function checkMobile(mobile) { var index1 = mobile.substring(0, 1); var index2 = mobile.substring(0, 2); if (index2 == '11' || index2 == '12' | ...
分类:
Web开发 时间:
2021-05-27 16:48:14
收藏:
0 评论:
0 赞:
0 阅读:
11
Ext.define('Ext.ux.form', { extend: 'Ext.form.Panel', listeners: { 'beforeadd': function(){ if (!field.allowBlank) { field.labelClsExtra = 'x-required ...
分类:
Web开发 时间:
2021-05-27 16:44:26
收藏:
0 评论:
0 赞:
0 阅读:
8
需求: 项目需要在3D场景增加动画按钮,直接添加到场景时 当场景过大的时候 、加载比较麻烦 因在找资料时发现这玩意居然要付费。故做此记录, 效果: 参考: 1、https://www.jiangweishan.com/article/css3htmlsdf20210208a1.html 2、http ...
分类:
Web开发 时间:
2021-05-27 16:41:15
收藏:
0 评论:
0 赞:
0 阅读:
19
Nginx配置网站默认https一、安装Nginxyuminstallnginx-y二、修改nginx.confvim/etc/nginx/nginx.conf配置80转443配置https(参考--我这里博客是php项目)三、启动nginxsystemctlstartnginx四、效果
分类:
Web开发 时间:
2021-05-27 16:40:39
收藏:
0 评论:
0 赞:
0 阅读:
14