派生自 wuyushui/SewerAndRainNetwork

陈泽平
2021-05-17 9f5456f88b8397ffbab1ad80331aaa834c15d882
src/components/layer/src/layer.js
@@ -20,12 +20,15 @@
   * @return {[type]}         [description]
   */
  self.open = function (opt) {
    console.log(opt)
    self.closeAll()
    var options = mergeJson(opt, defOptions)
    console.log('11111' + options)
    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)
    console.log(options)
    const instance = new LayerVueExtend({
      data: options
    })