工作中会经常会遇到选择省市区三级联动的需求,每次都有不同的需求,比如有不限,比如动态添加多个,比如宽度自定义,比如回显,回显类型不确定。。。等等。。。 每次都要根据需求定制,现在闲下来,将这些暂时遇到的需求整合到了一个组件里面,希望可以暂时救一下在花样需求的沼泽里出不来的人。 个人写的,肯定有可优化 ...
分类:
其他好文 时间:
2020-05-30 20:00:28
阅读次数:
86
效果图 代码 <el-table :data="tableData" :span-method="objectSpanMethod" border style="width: 100%;" height="53vh" v-loading="dataListLoading" > this.getSpa ...
分类:
其他好文 时间:
2020-05-30 15:41:25
阅读次数:
429
Refresh Cells To get the grid to refresh the cells, call api.refreshCells(). The interface is as follows: // method for refreshing cells function refr ...
分类:
其他好文 时间:
2020-05-30 13:08:17
阅读次数:
131
package practice; import java.util.*; public class Test { public static void main(String[] args) { // TODO Auto-generated method stub show(); } public ...
分类:
编程语言 时间:
2020-05-30 13:04:58
阅读次数:
58
java.lang.IllegalArgumentException: base64-encoded secret key cannot be null or empty. at io.jsonwebtoken.lang.Assert.hasText(Assert.java:135) at io.j ...
分类:
Web程序 时间:
2020-05-30 10:39:00
阅读次数:
496
命令行传参 有时候你希望运行一个程序时在传递给他消息。这要靠传递命令行参数给main()函数实现。 package com.Duan.method;public class Dome02 { public static void main(String[] args) { for(int i=0;i ...
分类:
其他好文 时间:
2020-05-30 01:29:08
阅读次数:
73
可变参数 JDK1.5开始,Java支持传递同类型的可变参数给一个方法。 在方法声明中,在指定参数类型后加一个省略号(...)。 一个方法中只能指定一个可变参数,它必须是方法的最后一个参数。任何普通的参数必须在它之前声明。 package com.Duan.method;public class D ...
分类:
其他好文 时间:
2020-05-30 01:28:56
阅读次数:
87
框架上传功能 上传文件 内置的上传只是上传到本地服务器,上传到远程或者第三方平台的话需要自己扩展。 假设表单代码如下: <form action="/index/index/upload" enctype="multipart/form-data" method="post"> <input typ ...
分类:
Web程序 时间:
2020-05-30 00:54:45
阅读次数:
96
stored_xss Stored XSS into HTML context with nothing encoded 题目要求 提交评论,调用alert函数 解题过程 直接祖传payload就行 Stored XSS into anchor href attribute with double ...
分类:
Web程序 时间:
2020-05-29 23:39:29
阅读次数:
181
一、获取access_token wx.request({ url: 'https://api.weixin.qq.com/cgi-bin/token', method : 'GET', data : { grant_type: 'client_credential', appid: '小程序的ap ...
分类:
微信 时间:
2020-05-29 12:07:42
阅读次数:
373