init
This commit is contained in:
10
src/localApi/dialog.ts
Normal file
10
src/localApi/dialog.ts
Normal file
@@ -0,0 +1,10 @@
|
||||
/**
|
||||
* 关闭弹窗并刷新列表
|
||||
*/
|
||||
export const closeDialogRefresh = () => {
|
||||
const cancelBtn: HTMLDivElement = document.querySelector('.el-dialog__footer .el-button:not(.el-button--primary)') as HTMLDivElement
|
||||
cancelBtn.click()
|
||||
|
||||
const searchBtn: HTMLDivElement = document.querySelector('.avue-form__menu.avue-form__menu--left .el-button.el-button--primary') as HTMLDivElement
|
||||
searchBtn.click()
|
||||
}
|
||||
Reference in New Issue
Block a user