[email protected]事件
![[email protected]事件 [email protected]事件](/wp-content/uploads/2020/10/1864408-20200823100942069-2070360280.png)
![[email protected]事件 [email protected]事件](/wp-content/uploads/2020/10/1864408-20200823101039380-1594840374.png)
![[email protected]事件 [email protected]事件](/wp-content/uploads/2020/10/1864408-20200823101053481-640590054.png)
给这个弹窗绑定一个事件,弹窗后监听这个弹窗的关闭,关闭后清除之前表单内输入的内容,但是为什么不生效,我输入内容后直接关闭了弹窗,然后再点击弹窗,之前输入的内容还是在里面这是为什么??
回答
在eidtDialogClosed方法里打个断点调试吧,这种问题简单得很,还有贴代码要贴重点,js代码一行不贴,无法定位问题
以上是 [email protected]事件 的全部内容, 来源链接: utcz.com/a/57265.html
![[email protected]事件 [email protected]事件](/wp-content/uploads/2020/10/1864408-20200823100942069-2070360280.png)
![[email protected]事件 [email protected]事件](/wp-content/uploads/2020/10/1864408-20200823101039380-1594840374.png)
![[email protected]事件 [email protected]事件](/wp-content/uploads/2020/10/1864408-20200823101053481-640590054.png)
给这个弹窗绑定一个事件,弹窗后监听这个弹窗的关闭,关闭后清除之前表单内输入的内容,但是为什么不生效,我输入内容后直接关闭了弹窗,然后再点击弹窗,之前输入的内容还是在里面这是为什么??
在eidtDialogClosed方法里打个断点调试吧,这种问题简单得很,还有贴代码要贴重点,js代码一行不贴,无法定位问题
以上是 [email protected]事件 的全部内容, 来源链接: utcz.com/a/57265.html