build/vue-loader.coonfig.js module.exports = (isDev) => { return { preserveWhitepace: true, //清除文本换行等情况空格 extractCSS: isDev ? false : true, // 把vue的cs ...
分类:
其他好文 时间:
2020-05-06 20:01:47
阅读次数:
124
1.flask初始化时,可更改的参数。 1: app = Flask('__main__', # 直接默认把当前的模块当作主程序 2: static_url_path='/python', # 为static的目录修改url,相当于改别名 3: static_folder='static',... ...
分类:
其他好文 时间:
2020-05-06 19:53:59
阅读次数:
67
1.分词 #DreaminRedMansions.py import jieba #调用jieba库 txt = open("D:\Download\lianxii\passageone.txt","r",encoding="UTF-8").read() #打开txt文件阅读 words = jie ...
分类:
其他好文 时间:
2020-05-06 19:52:48
阅读次数:
55
可以点击这个图标加 Action。 参数和变量的区别 在Action里面有一个参数,都可以在Action2,Action3里面用。 变量int i ,在Action里定义的,只能在Action里面用,不能在Action2,Action3里面用。 参数化中的参数的几种类型 Date/Time:日期类型 ...
分类:
其他好文 时间:
2020-05-06 18:06:55
阅读次数:
75
下载汉化压缩包 https://www.eclipse.org/downloads/download.php?file=/technology/babel/babel_language_packs/R0.17.1/2018-12/BabelLanguagePack-eclipse-zh_4.10.0 ...
分类:
系统相关 时间:
2020-05-06 16:43:50
阅读次数:
124
File Inclusion File Inclusion,意思是文件包含(漏洞),是指当服务器开启allow_url_include选项时,就可以通过php的某些特性函数(include(),require()和include_once(),require_once())利用url去动态包含文件, ...
分类:
其他好文 时间:
2020-05-06 16:42:09
阅读次数:
73
使用IDEA工具进行开发的时候,需要@Autowired自动注解bean。使用@Autowired时会报红线,但是项目依然能够运行 现有的解决的方案是: 打开file-settings或者ctrl+alt+s -> Editor 然后在Inspections 点击搜索栏 输入Spring Core ...
分类:
其他好文 时间:
2020-05-06 14:18:26
阅读次数:
66
我们在上传图片时经常需要判断图片的尺寸是否在要求范围内 <input type="file" onchange="loadPic(this)"/> var Max_Size = 2000; //2M var Max_Width = 100; //100px var Max_Height = 200; ...
分类:
Web程序 时间:
2020-05-06 14:00:08
阅读次数:
85
File settings 中找到Version control中的Subversion,然后点击clear auth Cache 即可 ...
分类:
其他好文 时间:
2020-05-06 13:50:21
阅读次数:
189
1 <a href="javascript:;" class="file"> <span>选择文件</span> 2 <input type="file" placeholder="" id="share-propagateUrl" size="1" 3 onchange="verification ...
分类:
Web程序 时间:
2020-05-06 12:20:00
阅读次数:
60