随笔分类 -  前端

摘要:文件名: js\timedWebsiteGraysOut.js // 设置每天凌晨触发一次的时间(24小时制) const targetHour =9; // 12:00 AM // 设置定时器,每隔一分钟检查一次 const dailyCheckInterval = setInterval(dai 阅读全文
posted @ 2023-12-08 15:14 张载zz 阅读(55) 评论(0) 推荐(0) 编辑
摘要:一、 C:\Users>npm -v 6.14.8 C:\Users>npm install -g cordova npm WARN deprecated @npmcli/move-file@2.0.1: This functionality has been moved to @npmcli/fs 阅读全文
posted @ 2023-06-15 11:44 张载zz 阅读(98) 评论(0) 推荐(0) 编辑
摘要:一、官网地址 https://mozilla.github.io/pdf.js/ 二、样例的代码目录截图 效果截图和访问路径: http://localhost:63342/web-code/html/pdfjs-3.7.107-dist/web/viewer.html?file=pdf-demo. 阅读全文
posted @ 2023-06-09 08:39 张载zz 阅读(65) 评论(0) 推荐(0) 编辑
摘要:thymeleaf for循环第一次后中断循环 <div th:each="processList, iterStat : ${dict.processList}" > <th:block th:if="${iterStat.index == 0}"> <span style="width:80%; 阅读全文
posted @ 2023-06-05 09:24 张载zz 阅读(14) 评论(0) 推荐(0) 编辑
摘要:<div style="border:1px solid #ccc;margin-bottom: 10px;padding:12px;float:left;width:49%;margin-left:1%;" th:each="dict:${dics}"> <span style="width:80 阅读全文
posted @ 2023-06-03 15:56 张载zz 阅读(267) 评论(0) 推荐(0) 编辑
摘要:问题效果 解决方式 阅读全文
posted @ 2023-05-25 13:49 张载zz 阅读(256) 评论(0) 推荐(0) 编辑
摘要:问题现象: 解决方式: <el-table-column label="合同标题" align="center" prop="conTitle" /> <el-table-column label="合同内容" align="center" prop="conContent" :show-overf 阅读全文
posted @ 2022-12-30 11:54 张载zz 阅读(24) 评论(0) 推荐(0) 编辑
摘要:解决方法 .catch(()=>{}) // 添加错误捕获 阅读全文
posted @ 2022-12-30 11:38 张载zz 阅读(33) 评论(0) 推荐(0) 编辑
摘要:检索的关键字:set _EXECJAVA=start 01、更改文件的位置 02、更改的内容 阅读全文
posted @ 2022-12-12 09:15 张载zz 阅读(50) 评论(0) 推荐(0) 编辑
摘要:原因:style 没有添加上;同一个盒子多次添加style(或者说和本地添加的style的顺序反了)解决方式 :第一个原因:main.js 文件中 import 引入文件先后顺序问题 import Vue from 'vue' import Print from 'vue-print-nb' imp 阅读全文
posted @ 2022-12-06 09:32 张载zz 阅读(1870) 评论(0) 推荐(0) 编辑
摘要:前置条件:添加的内容的文件是foot.jsp()<html lang="zh-CN"><head> <%--网站整体变成灰色--%> <style type="text/css"> html { filter: progid:DXImageTransform.Microsoft.BasicImage 阅读全文
posted @ 2022-12-02 15:40 张载zz 阅读(282) 评论(0) 推荐(0) 编辑
摘要:// 基本用法无参数get请求 $.ajax({ url:"demo_test.txt", success:function(result){ console.log(result); } } // 需指定方法则增加method字段 $.ajax({ url:"demo_test.txt", met 阅读全文
posted @ 2022-10-09 09:43 张载zz 阅读(119) 评论(0) 推荐(0) 编辑
摘要:如果在jsp文件中引入静态文件比如(.js或.css等等),可以在使用 /项目名称/路径 的方式,但是这种方式如果在修改了项目了名称后就显得比较麻烦了。除了之外还许多方式,比如相对路径等等。一般情况下,可以先获得项目的根路径,然后再加上文件路径。 ${pageContext.request.cont 阅读全文
posted @ 2022-09-22 08:32 张载zz 阅读(142) 评论(0) 推荐(0) 编辑
摘要:vue+element 的使用问题记录 1、下拉列表绑定值为整数 问题现象:下拉列表没有显示对应的文字,显示的是数字。 解决方法: 对应的对象的类中的数据类型是Integer value="parseInt(dict.dictValue)" <el-row> <el-col :span="24"> 阅读全文
posted @ 2022-08-31 08:44 张载zz 阅读(278) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示