mirror of
https://github.com/jeecgboot/JeecgBoot.git
synced 2025-12-08 17:12:28 +08:00
3.7.1版本发布
This commit is contained in:
@ -70,6 +70,15 @@ export function useJvxeMethod(requestAddOrEdit, classifyIntoFormData, tableRefs,
|
||||
//update-end-author:liusq date:2024-06-12 for: TV360X-478 一对多tab,校验未通过时,tab没有跳转
|
||||
}
|
||||
//update-end-author:taoyan date:2022-11-22 for: VUEN-2866【代码生成】Tab风格 一对多子表校验不通过时,点击提交表单空白了,流程附加页面也有此问题
|
||||
//update-begin---author:wangshuai---date:2024-06-17---for:【TV360X-1064】非原生提交表单滚动校验没通过的项---
|
||||
if (e?.errorFields) {
|
||||
const firstField = e.errorFields[0];
|
||||
if (firstField) {
|
||||
formRef.value.scrollToField(firstField.name, { behavior: 'smooth', block: 'end' });
|
||||
}
|
||||
}
|
||||
return Promise.reject(e?.errorFields);
|
||||
//update-end---author:wangshuai---date:2024-06-17---for:【TV360X-1064】非原生提交表单滚动校验没通过的项---
|
||||
} else {
|
||||
console.error(e);
|
||||
}
|
||||
|
||||
@ -163,7 +163,9 @@ export function usePermission() {
|
||||
return true;
|
||||
}
|
||||
} else {
|
||||
return true;
|
||||
// update-begin--author:liaozhiyang---date:20240705---for:【TV360X-1604】按钮禁用权限在接口中查不到也禁用
|
||||
return false;
|
||||
// update-end--author:liaozhiyang---date:20240705---for:【TV360X-1604】按钮禁用权限在接口中查不到也禁用
|
||||
}
|
||||
}
|
||||
return false;
|
||||
|
||||
@ -17,14 +17,13 @@ export function connectWebSocket(url: string) {
|
||||
result = useWebSocket(url, {
|
||||
// 自动重连 (遇到错误最多重复连接10次)
|
||||
autoReconnect: {
|
||||
retries: 10,
|
||||
delay: 5000,
|
||||
retries : 10,
|
||||
delay : 5000
|
||||
},
|
||||
// 心跳检测
|
||||
heartbeat: {
|
||||
message: 'ping',
|
||||
// 如果服务器压力再改回来55秒
|
||||
interval: 5000,
|
||||
message: "ping",
|
||||
interval: 55000
|
||||
},
|
||||
protocols: [token],
|
||||
// update-begin--author:liaozhiyang---date:20240726---for:[issues/6662] 演示系统socket总断,换一个写法
|
||||
|
||||
Reference in New Issue
Block a user