Skip to content
  • Projects
  • Groups
  • Snippets
  • Help

saas_plus / store-assistant-assemble

  • This project
    • Loading...
  • Sign in
Go to a project
  • Project
  • Repository
  • Issues 0
  • Merge Requests 0
  • 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
  • store-assistant-assemble
  • pages
  • tab
  • stat
  • components
  • custom
  • custom.js
  • 杨明's avatar
    物业 · 8e58180b
    杨明 committed Oct 24, 2023
    8e58180b
custom.js 396 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
// pages/tab/stat/components/lodge/lodge.js
const view = require('../view.js')
 
Component({
    behaviors: [view],
  /**
   * 组件的初始数据
   */
  data: {
  },

  /**
   * 组件的方法列表
   */
  methods: {
    getRatio(obj) {
      const {
        sourceDistribution
      } = obj
      this.setRatio('sourceDistribution', sourceDistribution,['#5D9BF1', '#5CF0D8'])
    }
  }
})