li-guang
2020-12-21 c93eff979aba7e4e071b3363f9146d5b4d49996e
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()
         }
      }
   }
}