| | |
| | | } |
| | | } |
| | | |
| | | const debounce = (func, wait) => { |
| | | let timeout |
| | | return (...args) => { |
| | | clearTimeout(timeout) |
| | | timeout = setTimeout(() => { |
| | | func(...args) |
| | | }, wait) |
| | | } |
| | | } |
| | | |
| | | const handleSystemLinkClick = (systemId) => { |
| | | console.log('点击了'+ systemId) |
| | | if(systemId == 1){ |
| | | router.push({ path: "/menuIndex"}); |
| | | }else{ |
| | |
| | | } |
| | | } |
| | | |
| | | // const debouncedSubmit = ref(debounce(submitHandle, 500)) |
| | | |
| | | // const handleSystemLinkClick = (id) => { |
| | | // debouncedSubmit.value(id) |
| | | // } |
| | | |
| | | function getInfo() { |
| | | reviewRef.value.openDialog('view',userInfo.value) |
| | | } |