常用
AlexKain
不相信天分,只相信汗水
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
日常使用代码块:elementUImessagex弹窗(确定按钮在左边)
日常使用代码块备份 this.$confirm('确定删除该条记录吗?', '提示', { confirmButtonText: '确定', cancelButtonText: '取消', customClass: 'confirm-box', type: 'warning' }).then(() => { if(!this.isValidNot0(item.id)){t...原创 2019-01-14 16:25:10 · 3167 阅读 · 1 评论 -
ES6数组:两个数组或数组对象取并集、交集、差集记录贴
数组 取并集 let a=new Set([1,2,3,4,5]); let b=new Set([1,2,3,4,5,6,7,8,9]); let arr = Array.from(new Set([...a, ...b])); console.log('arr',arr); 结果 取交集 let a=new Set([1,2,3,4,5]); let b=new Set([1,...原创 2019-05-09 16:44:40 · 23329 阅读 · 9 评论 -
Win7常用技巧记录贴:批量修改文件名中出现的括号
创建空白记事本复制下面的内容: @Echo Off&SetLocal ENABLEDELAYEDEXPANSION FOR %%a in (*) do ( set "name=%%a" set "name=!name: (=!" set "name=!name:)=!" ren "%%a" "!name!" ) exit 另存为.bat类型的文件,保存后直接双击运行 ...转载 2019-06-02 19:06:39 · 2042 阅读 · 0 评论
分享