Explorar o código

Popup: prepare for the upcoming change of Vue 2.2.0 (#3067)

杨奕 %!s(int64=8) %!d(string=hai) anos
pai
achega
705325c70a
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/utils/popup/index.js

+ 1 - 1
src/utils/popup/index.js

@@ -144,7 +144,7 @@ export default {
         this.$emit('input', true);
       }
 
-      const props = merge({}, this, options);
+      const props = merge({}, this.$props || this, options);
 
       if (this._closeTimer) {
         clearTimeout(this._closeTimer);