mirror of https://gitee.com/y_project/RuoYi.git
新增表格参数(数据值为空时显示的内容undefinedText)
parent
bf58ce6067
commit
8445d6a078
|
@ -41,6 +41,7 @@ var table = {
|
|||
method: 'post',
|
||||
height: undefined,
|
||||
sidePagination: "server",
|
||||
undefinedText: '-',
|
||||
sortName: undefined,
|
||||
sortOrder: "asc",
|
||||
pagination: true,
|
||||
|
@ -87,6 +88,7 @@ var table = {
|
|||
cache: false, // 是否使用缓存
|
||||
height: options.height, // 表格的高度
|
||||
striped: options.striped, // 是否显示行间隔色
|
||||
undefinedText: options.undefinedText, // 数据值为空时显示的内容
|
||||
sortable: true, // 是否启用排序
|
||||
sortStable: true, // 设置为 true 将获得稳定的排序
|
||||
sortName: options.sortName, // 排序列名称
|
||||
|
|
Loading…
Reference in New Issue