表单: 确保element-ui引进引入,或者按需引入时,引入对应的组件 1.简单结构实例: <el-form label-width='0px'> <el-form-item> <el-input></el-input> </el-form-item> <el-form-item> <el-but ...
分类:
其他好文 时间:
2020-07-04 13:11:08
阅读次数:
68
字典是有{name : value}对组成的。一个对成为一个item, 所有的对称为items 例如: dict = {'n1' : 'v1', 'n2' : 'v2', 'n3' : 'v3', 'n4': 'v4', 'n5' : 'v5'}for (key,value) in dict.ite ...
分类:
其他好文 时间:
2020-07-04 01:26:38
阅读次数:
58
Given a non-empty array of non-negative integers nums, the degree of this array is defined as the maximum frequency of any one of its elements. Your t ...
分类:
其他好文 时间:
2020-07-03 21:48:09
阅读次数:
68
<template> <div> <li class="list-group-item"> <div class="handle"> <a href="#" @click="deleteItem">删除</a> </div> <p class="user"><span>{{comment.name} ...
分类:
其他好文 时间:
2020-07-03 21:09:09
阅读次数:
68
.form-item /deep/ .form-item-label { text-align: left !important; } 给父元素加 /deep/ , 设置想改子元素的样式 , 加 !important ...
分类:
其他好文 时间:
2020-07-03 19:20:15
阅读次数:
92
public void RefreshContentSizeFitter() { ContentSizeFitter[] csfs = itemRoot.GetComponentsInChildren<ContentSizeFitter>(); foreach (var item in csfs) ...
分类:
编程语言 时间:
2020-07-03 19:11:40
阅读次数:
117
mybatis.mapperLocations=classpath:mapping/apis/*.xml,classpath*:mapping/item/*.xml被引用工程的mybatis xml 位于:resources/mapping/apis引用方的工程mybatis xml 位于:reso ...
分类:
编程语言 时间:
2020-07-03 17:34:52
阅读次数:
62
/*arr=['a','b'] 1、forEach >只遍历,不返回任何内容 arr.forEach(function(item,index,arr){}) 2、map >会返回回调函数中return的内容组成数组,这个数组的长度与原数组相同,而且按原数组对应位置返回内容 arr.map((item ...
分类:
编程语言 时间:
2020-07-03 14:07:20
阅读次数:
63
实体对象数据转结构体 //原始对象 Test test = new Test(); test.Name = "反射"; var props = test.GetType().GetProperties(); StructData structData = new StructData(); Obje ...
分类:
其他好文 时间:
2020-07-03 01:18:02
阅读次数:
86
1.搭建zabbix环境,见上个博客 2.监控mysql 安装mysql 开启mysql yum -y install mariadb mariadb-server systemtcl start mariadb netstat -anpt |grep :3306 3.安装zabbix (配置yum ...
分类:
数据库 时间:
2020-07-02 21:21:04
阅读次数:
87