摘要: //获取head的标签var head= document.getElementsByTagName('head')[0];//创建script标签var script= document.createElement('script');//属性赋值script.type= 'text/javasc 阅读全文
posted @ 2020-06-10 15:05 颂先生 阅读(5314) 评论(1) 推荐(2) 编辑
摘要: @SneakyThrowspublic static void main(String[] args) { //用来创建文件或文件夹 File file =new File("c:/d/aa.txt"); //判断文件或文件夹是否存在 if(file.exists()){ //不存在则创建改文件 f 阅读全文
posted @ 2020-06-10 14:45 颂先生 阅读(1576) 评论(0) 推荐(0) 编辑