Skip to content

Commit

Permalink
fix(quickEdit): prevent being shown twice (#253)
Browse files Browse the repository at this point in the history
这里假设quickEdit模态框只会被关闭而不会被隐藏
  • Loading branch information
bhsd-harry authored Mar 7, 2024
1 parent a1becac commit 5752c95
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/module/quickEdit.js
Original file line number Diff line number Diff line change
Expand Up @@ -382,6 +382,7 @@ export function quickEdit(options) {
* @description 模态框显示后
*/
onShow($modal) {
$modal.options.onShow = '';
var $modalWindow = $('#' + $modal.modalId)
mw.hook('InPageEdit.quickEdit').fire({
$modal,
Expand Down

0 comments on commit 5752c95

Please sign in to comment.