会员
周边
众包
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Qiu
博客园
首页
新随笔
联系
订阅
管理
2024年12月16日
el-table滚轮自动移动到表格底部
摘要: const editTableRef = ref(); // 滚轮自动移动到表格底部方法 const scrollToBottom = () => { nextTick(() => { if (editTableRef.value) { // 跳到底部操作 const $bodyWrapper =
阅读全文
posted @ 2024-12-16 22:36 强者qiang
阅读(274)
评论(0)
推荐(0)
2024年6月25日
Docker容器内部修改时区
摘要: 进入容器内部 docker exec -it mysql /bin/bash cd etc/ cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime echo "Asia/Shanghai" > timezone
阅读全文
posted @ 2024-06-25 20:18 强者qiang
阅读(10)
评论(0)
推荐(0)
2024年5月28日
uniapp实现PDA扫码(广播模式)
摘要: 1.进入开发者模式查看PDA的广播动作和广播标签 2.在uni-app项目里新建一个公共组件 就叫 pda-scan 吧,放到公共组件components中,目录:components/pda-scan/pda-scan.vue <template> <view> </view> </templat
阅读全文
posted @ 2024-05-28 21:51 强者qiang
阅读(4138)
评论(0)
推荐(1)
2021年10月18日
数据回滚,异常回滚
摘要: //数据回滚@Transactional(rollbackFor=Exception.class) public boolean deleteUser(String userIds) { int failflag = 0; if(!Constant.isEmpty(userIds)) { Strin
阅读全文
posted @ 2021-10-18 15:52 强者qiang
阅读(97)
评论(0)
推荐(0)
2021年9月13日
MySQL删除所有表数据
摘要: SELECT CONCAT('TRUNCATE TABLE ',table_name,';') FROM information_schema.tables WHERE table_schema='database_name' ; -- database_name为要删除的库
阅读全文
posted @ 2021-09-13 10:49 强者qiang
阅读(95)
评论(0)
推荐(0)
2021年9月6日
datagrid行删除操作
摘要: datagrid行删除操作: {title: '操作',field: 'control',width: 120,halign:'center',align: 'center', formatter: function (value,row,index) { var processLink = '<a
阅读全文
posted @ 2021-09-06 10:18 强者qiang
阅读(544)
评论(0)
推荐(0)
2021年9月3日
easyui表单进行序列化以及校验
摘要: 序列化后的数据可以通过Ajax向后台传递var params = jQuery("#iForm").formSerialize(); //对表单进行校验,所有字段都有效时,返回truevar isValid = $("#iForm").form('validate'); if (!isValid)
阅读全文
posted @ 2021-09-03 15:41 强者qiang
阅读(133)
评论(0)
推荐(0)
设置每隔1秒刷新一次
摘要: <%-- // 设置每隔1秒刷新一次--%> <%-- response.setIntHeader("Refresh", 15);--%>
阅读全文
posted @ 2021-09-03 10:15 强者qiang
阅读(69)
评论(0)
推荐(0)
子页面选中行,添加到父页面中
摘要: 子页面上: function addNew(){ var rows = jQuery('#mydatagrid').datagrid('getSelections'); if(rows.length <= 0){ jQuery.messager.alert("操作提示", "请选择至少一条记录!",
阅读全文
posted @ 2021-09-03 10:05 强者qiang
阅读(65)
评论(0)
推荐(0)
2021年9月2日
什么是JWT?
摘要: 1.引入依赖 <dependencies> <!-- JWT--> <dependency> <groupId>io.jsonwebtoken</groupId> <artifactId>jjwt</artifactId> </dependency> </dependencies> 2.创建JWT工
阅读全文
posted @ 2021-09-02 10:46 强者qiang
阅读(74)
评论(0)
推荐(0)
下一页
公告