码迷,mamicode.com
首页 >  
搜索关键字:filelist    ( 145个结果
uniapp 图片视频上传
//点击事件 //上传图片 getImg() { if (this.fileList.length >= 9) { uni.showToast({ title: '上传数量上限', icon: 'none', duration: 1000 }) return } let that = this; u ...
分类:移动开发   时间:2020-07-23 23:25:34    阅读次数:92
verdi启动
两个文件。Makefile,dump_fsdb_vcs.tcl Makefile: #veridi simulation makefile for export f=filelist.f#allall: clean com_vcs run_vcs#start compile com_vcs: vcs ...
分类:其他好文   时间:2020-07-17 22:17:56    阅读次数:107
vue 文件(图片)上传
html~~~~~~ <div> <a-upload listType="picture-card" :fileList="fileList" @preview="handlePreview" @change="handleChange" :before-upload="beforeUpload"> ...
分类:Web程序   时间:2020-06-04 20:01:15    阅读次数:87
Verdi 不加载filelist,load design方法
仿真后调试流程 要自动加载Unified Compile编译的KDB,请使用以下命令 Verdi命令行选项: -simflow 使Verdi及其实用程序能够使用来自synopsys_sim.setup的库映射并从KDB库路径导入设计。 -simBin 指定simv可执行文件的路径。 这确保了VCS和 ...
分类:其他好文   时间:2020-05-13 13:55:08    阅读次数:149
保留目录十个最新文件
#!/bin/bash Filelist=$(ls -l /data/backup/|egrep "^d"|awk '{print $9}') for i in $Filelist; do count=$(ls -l /data/backup/$i|grep -v total|wc -l) whil ...
分类:其他好文   时间:2020-04-30 19:00:59    阅读次数:69
iverilog_makefile
makefile run: iverilog -g2005-sv -I ../inc -s tb -f filelist -o kout sim: vvp kout flist: find ../rtl/ -name "*.v" > filelist echo "../tb/tb.v" >> fil ...
分类:其他好文   时间:2020-04-17 23:50:42    阅读次数:94
Python的OS模块批量修改文件名
大量文件名需要进行有序整理时,可以使用Python的OS模块进行文件批量重命名,脚本如下: import os path = 'D:\PycharmProjects\download_photos\down_photos' #文件路径 count = 1 filelist = os.listdir( ...
分类:编程语言   时间:2020-03-23 17:12:29    阅读次数:76
读取目录下的所有文件
采用递归的方式,逐层读取目录下的文件 public void getFile(String path, List<String> fileList) { File file = new File(path); if (file.isDirectory()) { File[] files = file ...
分类:其他好文   时间:2020-02-13 23:06:54    阅读次数:74
vue使用formdata上传多个图片,springboot以文件数组的形式接受
vue代码(使用element-ui): 思路:依次遍历fileList数组,将其中的每个图片文件提取出,再加入到formdata中,因为是多文件上传,后端以文件数组的形式接受, 因此每次合并到formdata的key值都为同一值。 uploadImg() { let imgfile = new F ...
分类:编程语言   时间:2020-02-06 10:28:46    阅读次数:302
nginx发布一个遍历目录
location/filelist/centos6/{root/opt/static/;autoindex_localtimeon;autoindexon;}autoindex_localtimeon表示使用服务器上时区。这个默认是off的,有可能导致你发布的内容时间是其他时区的。autoindexon表示本虚拟目录开启遍历。
分类:其他好文   时间:2020-01-10 01:11:20    阅读次数:113
145条   上一页 1 2 3 4 ... 15 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!