posted @ 2021-09-23 11:29
09 2021 档案
摘要:Zookeeper的概述: ZooKeeper是一个开源的分布式的,为分布式应用提供协调服务的Apache项目。ZooKeeper从设计模式角度来理解:是一个基于观察者模式设计的分布式服务管理框架,它负责存储和管理大家都关心的数据,然后接受观察者的注册,一旦这些数据的状态发生变化,ZooKeeper
阅读全文
摘要:转载:https://blog.csdn.net/u011389067/article/details/83013926
阅读全文
posted @ 2021-09-18 15:44
摘要:function checkData(){ var arr = [{name: 'apple', value: 123}, {name: 'banana', value: 345}, {name: 'apple', value: 222}]; for (var i=0; i<arr.length;
阅读全文
posted @ 2021-09-16 14:12
摘要:<el-form-item :label="`参数${(index + 1)}类型`" v-for="(item, index,) in props.row.params"> <span v-text="item"></span> </el-form-item>
阅读全文
posted @ 2021-09-15 14:38
摘要:vue中RegExp验证: 1、判断文本框中用户输入的字符是否含有特殊符号(*/#$@),就像用户注册时密码框的填写。 // 利用 RegExp 对象优雅实现: even(文本框内容) regDemo:function (even) { // 规则对象(flag) var flag = new Re
阅读全文
posted @ 2021-09-07 11:34
摘要:常见例子 // 加法 0.1 + 0.2 = 0.30000000000000004 0.1 + 0.7 = 0.7999999999999999 0.2 + 0.4 = 0.6000000000000001 // 减法 0.3 - 0.2 = 0.09999999999999998 1.5 - 1
阅读全文
posted @ 2021-09-06 17:12