派生自 wuyushui/SewerAndRainNetwork

徐旺旺
2021-04-16 6c383987f8b0a5f1f836558689e5c6ec9438b601
src/components/layer/src/layer.vue
@@ -15,11 +15,8 @@
export default {
  data () {
    return {
      cls: {
        'vl-notify-iframe': true
      },
      style: {},
      id: 'vlip' + new Date().getTime()
      id: 'sewer_layeropen_' + new Date().getTime()
    }
  },
  props: {
@@ -32,21 +29,18 @@
  },
  computed: {
  },
  async mounted () {
    helper.hiddenScrollBar(this.options)
  mounted () {
  },
  methods: {
    close () {
      this.layer.close(this.id)
    },
    init () {
      console.log('3333333333')
      const propsData = helper.deepClone(this.content.content.data) || {}
      const propsData = helper.deepClone(this.content.data) || {}
      propsData.layerid = this.id
      propsData.lydata = this.content.data
      propsData.lyoption = this.options
      const instance = new this.content.content({
        // 具体参数信息,请参考vue源码
        // parent: this.content.parent,
        propsData: propsData
      })