Skip to content
  • Projects
  • Groups
  • Snippets
  • Help

saas_plus / dj-car-boutique-work-wechat

  • This project
    • Loading...
  • Sign in
Go to a project
  • Project
  • Repository
  • Issues 0
  • Merge Requests 1
  • Pipelines
  • Wiki
  • Settings
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Files
  • Commits
  • Branches
  • Tags
  • Contributors
  • Graph
  • Compare
  • Charts
Switch branch/tag
  • dj-car-boutique-work-wechat
  • integration
  • components
  • Modal
  • index.js
  • 王志慧's avatar
    阳光激励需求开发 · cca2519b
    王志慧 committed Sep 06, 2024
    cca2519b
index.js 455 Bytes
RawBlameHistoryPermalink
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35

Component({
  /**
   * 组件的属性列表
   */
  properties: {
    info: Object,
    show: Boolean
  },

  /**
   * 组件的初始数据
   */
  data: {

  },

  /**
   * 组件的方法列表
   */
  methods: {
    cancel() {
      this.sumbit = false
      this.setData({
        show: false
      })
    },
    confirm() {
      if (this.sumbit) return
      this.sumbit = true
      this.cancel()
      this.triggerEvent('sumbit')
    },
  }
})