[bugfix] Popup should remove event handler when destroyed (#477)
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
const PopupContext = {
|
||||
idSeed: 1,
|
||||
zIndex: 2000,
|
||||
stack: [],
|
||||
|
||||
plusKey(key) {
|
||||
return this[key]++;
|
||||
},
|
||||
|
||||
get top() {
|
||||
return this.stack[this.stack.length - 1];
|
||||
}
|
||||
};
|
||||
|
||||
export default PopupContext;
|
||||
Reference in New Issue
Block a user