Sign in

cnlive_project / cnlive-community-web-vue · Files

GitLab

  • Back to group
  • Project
  • Activity
  • Files
  • Commits
  • Network
  • Graphs
  • Milestones
  • Issues 0
  • Merge Requests 0
  • Labels
  • Wiki
  • cnlive-community-web-vue
  • src
  • views
  • column
  • config.ts
  • 修改栏目type取值规则
    81d95a24
    杨泽宇 authored
    2022-02-03 14:17:45 +0800  
    Browse Code »
config.ts 405 Bytes
Edit Raw Blame History Permalink
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
import type { EnumArrayItem } from "@/@type/module/basic"

interface EnumArrayItemWithMatch extends EnumArrayItem {
  match: boolean
}

/**
 * 栏目类型
 */
export const types: EnumArrayItemWithMatch[] = [
  {
    label: '权威资讯',
    value: '1',
    match: false
  }, {
    label: '公益活动',
    value: '2',
    match: true
  }, {
    label: '服务',
    value: '3',
    match: false
  }
]