派生自 wuyushui/SewerAndRainNetwork

seatonwan9
2021-05-21 4d265afb3419bd5cedc6f31ab78d570f6917b520
src/components/layer/src/layer.js
@@ -20,17 +20,12 @@
   * @return {[type]}         [description]
   */
  self.open = function (opt) {
    /* let option = {
      type: 1,
      content: opt.content,
      area: opt.area
    } */
    self.closeAll()
    var options = mergeJson(opt, defOptions)
    const id = `notification_${new Date().getTime()}_${seed++}`
    options.id = id
    options.layer = self
    options.content.content = Vue.extend(options.content.content)
    options.content.comp = Vue.extend(options.content.comp)
    const instance = new LayerVueExtend({
      data: options
    })