Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Fedex
/
imac-vue
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
Elements-SY
2023-09-15 18:09:04 +0800
Browse Files
Options
Browse Files
Download
Plain Diff
Commit
a0fe1fdc2ea5160dc6730d83e5272456b929fc91
a0fe1fdc
2 parents
b67eb766
1a8a42ff
Merge branch 'test' into et86
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
src/utils/index.js
src/views/et86Config/et86RuleConfig/index.vue
src/utils/index.js
View file @
a0fe1fd
...
...
@@ -245,7 +245,7 @@ export function debounce(func, wait, immediate) {
return
function
(...
args
)
{
context
=
this
;
timestamp
=
+
new
Date
();
data
=
args
;
data
=
args
;
// 把实参作为防抖回调函数的返回值
const
callNow
=
immediate
&&
!
timeout
;
// 如果延时不存在,重新设定延时
if
(
!
timeout
)
timeout
=
setTimeout
(
later
,
wait
);
...
...
src/views/et86Config/et86RuleConfig/index.vue
View file @
a0fe1fd
...
...
@@ -32,8 +32,7 @@ import YlForm from "@/components/YlForm";
import YlTable from "@/components/YlTable";
import { formConfig } from "./formConfig";
import { tableAttr, columnHeader } from "./tableConfig";
import { restTableHeight, sortList } from "@/utils";
import store from '@/store'
import { restTableHeight } from "@/utils";
import {
findAllEtesRules, // ET86查询
deleteEtesRuleById, // 删除
...
...
@@ -72,6 +71,7 @@ export default {
},
mounted() {
this.$nextTick(() => {
// window视口的高减去除了Table表格的高;将这个差的结果值作为设置Table的高;
this.tableAttr.maxHeight =
window.innerHeight - restTableHeight(this.$refs);
});
...
...
Please
register
or
login
to post a comment