JeecgBoot-vue3--JDictSelectTag去掉选项中得‘请选择’

JDictSelectTag有一个属性showChooseOption,将showChooseOption设置为false即可

例如:在xx.data.js中

  {
    label:  'commissionType',
    field: 'commissionType',
    component: 'JDictSelectTag',
    colProps: { span: 8},
    componentProps: {
      dictCode: 'tpay_commission_type',
      showChooseOption:false
    },
    labelWidth:locale=='bur'?120:110
  },

在页面中

 <JDictSelectTag v-model:value="formData.type" dictCode="tpay_commission_type" :showChooseOption='false'/>

相关推荐

  1. JeecgBoot-vue3--JDictSelectTag去掉选项选择

    2024-02-01 13:28:01       38 阅读
  2. vue3实现地区下拉选择组件封装

    2024-02-01 13:28:01       10 阅读
  3. JeecgBoot 3.6.1 vue页面定时刷新列表

    2024-02-01 13:28:01       35 阅读

最近更新

  1. TCP协议是安全的吗?

    2024-02-01 13:28:01       18 阅读
  2. 阿里云服务器执行yum,一直下载docker-ce-stable失败

    2024-02-01 13:28:01       19 阅读
  3. 【Python教程】压缩PDF文件大小

    2024-02-01 13:28:01       19 阅读
  4. 通过文章id递归查询所有评论(xml)

    2024-02-01 13:28:01       20 阅读

热门阅读

  1. 微信小程序如何控制元素的显示和隐藏

    2024-02-01 13:28:01       28 阅读
  2. sql 计算工作日数

    2024-02-01 13:28:01       29 阅读
  3. UCL-ELEC0136: Data Acquisition and Processing Systems

    2024-02-01 13:28:01       29 阅读
  4. 单例模式

    2024-02-01 13:28:01       31 阅读
  5. 植保无人机如何提高作业效率?

    2024-02-01 13:28:01       33 阅读
  6. openssl3.2 - 帮助文档的整理

    2024-02-01 13:28:01       41 阅读