瀏覽代碼

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

杨奕 8 年之前
父節點
當前提交
705325c70a
共有 1 個文件被更改,包括 1 次插入1 次删除
  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);