其他分享
首页 > 其他分享> > JEECG中JvxeTable去掉新增按钮

JEECG中JvxeTable去掉新增按钮

作者:互联网

<j-vxe-table
          keep-source
          :ref="refKeys[0]"
          :loading="mroProduceOccasionallyBatchReserveInfoTable.loading"
          :columns="mroProduceOccasionallyBatchReserveInfoTable.columns"
          :dataSource="mroProduceOccasionallyBatchReserveInfoTable.dataSource"
          :maxHeight="300"
          :disabled="formDisabled"
          :rowNumber="true"
          toolbar
          :toolbarConfig='toolbarConfig'
          @valueChange="handleValueChange"
        >

定义一个config对象

 toolbarConfig: {
          // add 新增按钮;remove 删除按钮;clearSelection 清空选择按钮
          btn: ['remove']
        },

标签:clearSelection,JvxeTable,新增,remove,add,按钮,JEECG
来源: https://www.cnblogs.com/gxh299988/p/15517857.html