queenwuli
2020-12-27 cc499362b6eba119792e113796e4da029a70fc6d
hive-app/components/uni-popup/message.js
New file
@@ -0,0 +1,22 @@
export default {
   created() {
      if (this.type === 'message') {
         // 不显示遮罩
         this.maskShow = false
         // 获取子组件对象
         this.childrenMsg = null
      }
   },
   methods: {
      customOpen() {
         if (this.childrenMsg) {
            this.childrenMsg.open()
         }
      },
      customClose() {
         if (this.childrenMsg) {
            this.childrenMsg.close()
         }
      }
   }
}