修复行主键为 0 时导致重新生成的问题

This commit is contained in:
xuliangzhan
2021-06-18 19:01:44 +08:00
parent c3dfbd522b
commit b2ab7fa6df
8 changed files with 81 additions and 44 deletions

View File

@@ -546,7 +546,7 @@ const apis = [
list: [
{
name: 'commitProxy(code, ...arguments)',
desc: '给数据代理提交指令(支持额外的参数,对于很多特殊场景很有用',
desc: '给数据代理提交指令(支持额外的参数,例如:手动调用触发查询、保存等方法',
version: '',
type: '',
enum: '',

View File

@@ -1190,9 +1190,18 @@ const apis = [
enum: '',
defVal: '继承 setup.table.radioConfig',
list: [
{
name: 'strict',
desc: '严格模式,选中后不能取消',
version: '4.0.22',
type: 'Boolean',
enum: '',
defVal: 'true',
list: []
},
{
name: 'reserve',
desc: '是否保留勾选状态,对于某些场景下非常有用,比如数据被刷新之后还保留之前选中的状态(需要有 row-id',
desc: '是否保留勾选状态,例如:数据被刷新或者分页之后还保留之前选中的状态(需要有 row-id',
version: '',
type: 'boolean',
enum: '',
@@ -2836,7 +2845,7 @@ const apis = [
version: '',
type: '',
enum: '',
defVal: '{ row, rowIndex, $rowIndex, column, columnIndex, $columnIndex, $event }',
defVal: '{ newValue, oldValue, row, rowIndex, $rowIndex, column, columnIndex, $columnIndex, $event }',
list: []
},
{
@@ -2845,7 +2854,7 @@ const apis = [
version: '',
type: '',
enum: '',
defVal: '{ row, rowIndex, $rowIndex, column, columnIndex, $columnIndex, $event }',
defVal: '{ newValue, oldValue, row, rowIndex, $rowIndex, column, columnIndex, $columnIndex, $event }',
list: []
},
{