br-dionysus 1.6.7 → 1.6.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/attributes.json +1 -1
- package/dist/br-dionysus.es.js +2174 -2164
- package/dist/br-dionysus.umd.js +8 -8
- package/dist/index.css +1 -1
- package/dist/packages/MTable/src/MTable.vue.d.ts +3 -3
- package/dist/packages/MTable/src/token.d.ts +2 -2
- package/package.json +1 -1
- package/packages/MInline/src/MInline.vue +11 -10
- package/packages/MTable/src/MTable.vue +4 -4
- package/packages/MTable/src/token.ts +2 -2
- package/packages/MTableColumn/src/MTableColumn.vue +7 -5
- package/web-types.json +1 -1
- package/docs/assets/README-BIIm2ID5.css +0 -1
- package/docs/assets/README-BVC502ud.js +0 -1
- package/docs/assets/README-BaVHXTcr.js +0 -1
- package/docs/assets/README-BkoXPzeT.js +0 -1
- package/docs/assets/README-BpY9wwJ5.js +0 -1
- package/docs/assets/README-BxVIiLkB.css +0 -1
- package/docs/assets/README-C8q4oePg.css +0 -1
- package/docs/assets/README-C9E9QEak.js +0 -1
- package/docs/assets/README-CJnIKztR.css +0 -1
- package/docs/assets/README-CPi9K5cm.css +0 -1
- package/docs/assets/README-CVikrcuu.js +0 -1
- package/docs/assets/README-CwxKEz5n.js +0 -1
- package/docs/assets/README-D-sCcuuV.js +0 -1
- package/docs/assets/README-D1NyMPDh.css +0 -1
- package/docs/assets/README-D8dRnWkj.css +0 -1
- package/docs/assets/README-DC5fWcO7.css +0 -1
- package/docs/assets/README-DFookNbq.js +0 -1
- package/docs/assets/README-DJM0QNOa.css +0 -1
- package/docs/assets/README-DJsWJjpr.js +0 -2
- package/docs/assets/README-DZH0ZBFE.js +0 -1
- package/docs/assets/README-DuLXE9ma.css +0 -1
- package/docs/assets/README-DxdjMTiZ.js +0 -1
- package/docs/assets/README-DxzXrur_.js +0 -1
- package/docs/assets/README-ZSEyYWl3.css +0 -1
- package/docs/assets/empty-BHv0FmNK.png +0 -0
- package/docs/assets/index-B3d27dSP.js +0 -66
- package/docs/assets/index-BeGJML3j.css +0 -1
- package/docs/index.html +0 -14
- package/docs/packages/Hook/usePackageConfig/README.md +0 -35
- package/docs/packages/Hook/usePackageConfig/demo.vue +0 -28
- package/docs/packages/Hook/usePackageConfig/usePackageConfig.ts +0 -39
- package/docs/packages/Hook/useRemainingSpace/README.md +0 -26
- package/docs/packages/Hook/useRemainingSpace/useRemainingSpace.ts +0 -148
- package/docs/packages/Hook/useTableConfig/README.md +0 -50
- package/docs/packages/Hook/useTableConfig/demo.vue +0 -134
- package/docs/packages/Hook/useTableConfig/useTableConfig.ts +0 -173
- package/docs/packages/Hook/useZIndex/README.md +0 -6
- package/docs/packages/Hook/useZIndex/useGlobalZIndex.ts +0 -34
- package/docs/packages/MDialog/docs/README.md +0 -26
- package/docs/packages/MDialog/docs/demo.vue +0 -72
- package/docs/packages/MDialog/index.ts +0 -10
- package/docs/packages/MDialog/src/MDialog.vue +0 -150
- package/docs/packages/MInline/docs/README.md +0 -26
- package/docs/packages/MInline/docs/demo.vue +0 -138
- package/docs/packages/MInline/index.ts +0 -10
- package/docs/packages/MInline/src/MInline.vue +0 -284
- package/docs/packages/MInputNumber/docs/README.md +0 -35
- package/docs/packages/MInputNumber/docs/demo.vue +0 -17
- package/docs/packages/MInputNumber/index.ts +0 -10
- package/docs/packages/MInputNumber/src/MInputNumber.vue +0 -268
- package/docs/packages/MSelect/docs/README.md +0 -20
- package/docs/packages/MSelect/docs/demo.vue +0 -36
- package/docs/packages/MSelect/index.ts +0 -17
- package/docs/packages/MSelect/src/MOption.vue +0 -43
- package/docs/packages/MSelect/src/MSelect.vue +0 -57
- package/docs/packages/MSelect/src/token.ts +0 -8
- package/docs/packages/MSelectTable/docs/README.md +0 -88
- package/docs/packages/MSelectTable/docs/demo.vue +0 -196
- package/docs/packages/MSelectTable/index.ts +0 -10
- package/docs/packages/MSelectTable/src/MSelectTable.vue +0 -493
- package/docs/packages/MSelectTableV1/docs/README.md +0 -49
- package/docs/packages/MSelectTableV1/docs/demo.vue +0 -77
- package/docs/packages/MSelectTableV1/index.ts +0 -10
- package/docs/packages/MSelectTableV1/src/MSelectTableV1.vue +0 -460
- package/docs/packages/MSelectV2/docs/README.md +0 -31
- package/docs/packages/MSelectV2/docs/demo.vue +0 -36
- package/docs/packages/MSelectV2/index.ts +0 -10
- package/docs/packages/MSelectV2/src/MSelectV2.vue +0 -116
- package/docs/packages/MTable/docs/README.md +0 -40
- package/docs/packages/MTable/docs/demo.vue +0 -93
- package/docs/packages/MTable/index.ts +0 -10
- package/docs/packages/MTable/src/MTable.vue +0 -228
- package/docs/packages/MTable/src/token.ts +0 -9
- package/docs/packages/MTableColumn/docs/README.md +0 -22
- package/docs/packages/MTableColumn/docs/demo.vue +0 -110
- package/docs/packages/MTableColumn/index.ts +0 -10
- package/docs/packages/MTableColumn/src/MTableColumn.vue +0 -345
- package/docs/packages/MTableColumnSet/docs/README.md +0 -31
- package/docs/packages/MTableColumnSet/docs/demo.vue +0 -36
- package/docs/packages/MTableColumnSet/index.ts +0 -10
- package/docs/packages/MTableColumnSet/src/MTableColumnSet.vue +0 -310
- package/docs/packages/README.md +0 -10
- package/docs/packages/SkinConfig/docs/README.md +0 -42
- package/docs/packages/SkinConfig/docs/demo.vue +0 -680
- package/docs/packages/SkinConfig/index.ts +0 -10
- package/docs/packages/SkinConfig/src/SkinConfig.vue +0 -478
- package/docs/packages/SkinConfig/src/useSkin.ts +0 -230
- package/docs/packages/TabPage/docs/README.md +0 -10
- package/docs/packages/TabPage/docs/demo.vue +0 -96
- package/docs/packages/TabPage/index.ts +0 -10
- package/docs/packages/TabPage/src/TabPage.vue +0 -566
- package/docs/packages/Tool/moneyFormat/README.md +0 -15
- package/docs/packages/Tool/moneyFormat/moneyFormat.ts +0 -69
- package/docs/packages/index.ts +0 -61
- package/docs/packages/list.json +0 -80
- package/docs/packages/typings/class.ts +0 -22
- package/docs/packages/typings/enum.ts +0 -9
- package/docs/packages/typings/global.d.ts +0 -69
- package/docs/packages/typings/interface.ts +0 -6
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
import Big from 'big.js'
|
|
2
|
-
interface ConfigType {
|
|
3
|
-
/** @description 金额符号 */
|
|
4
|
-
moneySymbol?: string
|
|
5
|
-
/** @description 是否补零 */
|
|
6
|
-
repairZero?: number
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
const strToNum = (str: string) => {
|
|
10
|
-
if (str === '0') return 0
|
|
11
|
-
// 使用正则表达式替换掉货币符号和千分位逗号,但保留小数点
|
|
12
|
-
let numStr = str.replace(/[^\d.]/g, '') // 匹配非数字和小数点的字符并替换为空字符串
|
|
13
|
-
// 去除可能由多个连续小数点导致的冗余部分,并确保只有一个小数点
|
|
14
|
-
numStr = numStr.replace(/\.+/g, '.') // 替换多个连续小数点为单个小数点
|
|
15
|
-
// 去除小数点前可能存在的开头的0(如果有的话)
|
|
16
|
-
numStr = numStr.replace(/^0+(?!\.)/, '')
|
|
17
|
-
// 将处理后的字符串转换为数字
|
|
18
|
-
return parseFloat(numStr)
|
|
19
|
-
}
|
|
20
|
-
/**
|
|
21
|
-
* 处理金额格式
|
|
22
|
-
* @param val 需转换的值
|
|
23
|
-
* @param isThousands 是否需要千分位
|
|
24
|
-
* @param roundDTo 四舍五入位数
|
|
25
|
-
* @param {ConfigType} config 配置选项 ConfigType
|
|
26
|
-
* @return result
|
|
27
|
-
*/
|
|
28
|
-
const moneyFormat = (val: string | number | null | undefined = '', isThousands: boolean = true, roundDTo: number = 2, config: ConfigType = {}) : string => {
|
|
29
|
-
const obj = Object.keys(config)
|
|
30
|
-
if (typeof val === 'undefined' || (typeof val === 'object' && val === null)) return ''
|
|
31
|
-
let intNum = 0
|
|
32
|
-
if (val !== null) {
|
|
33
|
-
// 无论是数字还是字符串都转数字
|
|
34
|
-
if (typeof val === 'string') {
|
|
35
|
-
const empty = val.trim()
|
|
36
|
-
if (!empty) return ''
|
|
37
|
-
intNum = strToNum(val.trim()) // 去除字符串两端的空格并转换为数字
|
|
38
|
-
} else {
|
|
39
|
-
intNum = val as number // 如果 val 是数字,则直接使用它
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
const num = new Big(intNum).round(roundDTo) // 四舍五入
|
|
43
|
-
if (!val && !obj.length) return '0' // 如果是0 并且没有其他配置
|
|
44
|
-
// // console.log(config[obj[1] as keyof ConfigType])
|
|
45
|
-
const moneySymbol = config.moneySymbol // 补的金钱符号
|
|
46
|
-
const repairZero = config.repairZero // 末尾补几位零
|
|
47
|
-
let result: string = new Big(num)
|
|
48
|
-
if (repairZero) {
|
|
49
|
-
// 需要末尾补零
|
|
50
|
-
result = new Big(result).toFixed(repairZero)
|
|
51
|
-
}
|
|
52
|
-
if (isThousands) {
|
|
53
|
-
// 是否添加千分位
|
|
54
|
-
const base = num.toNumber()
|
|
55
|
-
const options = {
|
|
56
|
-
maximumFractionDigits: roundDTo,
|
|
57
|
-
useGrouping: true
|
|
58
|
-
}
|
|
59
|
-
result = base.toLocaleString('zh-CN', options)
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
if (moneySymbol) {
|
|
63
|
-
// 需要补金钱符号
|
|
64
|
-
result = moneySymbol + result
|
|
65
|
-
}
|
|
66
|
-
return result
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
export default moneyFormat
|
package/docs/packages/index.ts
DELETED
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
import { App, Plugin } from 'vue'
|
|
2
|
-
|
|
3
|
-
import { TabPagePlugin } from './TabPage'
|
|
4
|
-
import { MInputNumberPlugin } from './MInputNumber'
|
|
5
|
-
import { MInlinePlugin } from './MInline'
|
|
6
|
-
import { SkinConfigPlugin } from 'packages/SkinConfig'
|
|
7
|
-
import { MTablePlugin } from 'packages/MTable'
|
|
8
|
-
import { MTableColumnPlugin } from 'packages/MTableColumn'
|
|
9
|
-
import { MTableColumnSetPlugin } from 'packages/MTableColumnSet'
|
|
10
|
-
import { MSelectPlugin, MOptionPlugin } from 'packages/MSelect'
|
|
11
|
-
import { MSelectV2Plugin } from 'packages/MSelectV2'
|
|
12
|
-
import { MSelectTablePlugin } from 'packages/MSelectTable'
|
|
13
|
-
import { MDialogPlugin } from 'packages/MDialog'
|
|
14
|
-
import { MSelectTableV1Plugin } from 'packages/MSelectTableV1'
|
|
15
|
-
|
|
16
|
-
import useTableConfig from 'packages/Hook/useTableConfig/useTableConfig'
|
|
17
|
-
import useRemainingSpace from 'packages/Hook/useRemainingSpace/useRemainingSpace'
|
|
18
|
-
import useSkin from 'packages/SkinConfig/src/useSkin'
|
|
19
|
-
import useGlobalZIndex from 'packages/Hook/useZIndex/useGlobalZIndex'
|
|
20
|
-
import usePackageConfig from 'packages/Hook/usePackageConfig/usePackageConfig'
|
|
21
|
-
import moneyFormat from 'packages/Tool/moneyFormat/moneyFormat'
|
|
22
|
-
|
|
23
|
-
const BrPlugin: Plugin = {
|
|
24
|
-
install (app: App) {
|
|
25
|
-
TabPagePlugin.install?.(app)
|
|
26
|
-
MInputNumberPlugin.install?.(app)
|
|
27
|
-
MInlinePlugin.install?.(app)
|
|
28
|
-
SkinConfigPlugin.install?.(app)
|
|
29
|
-
MTablePlugin.install?.(app)
|
|
30
|
-
MTableColumnPlugin.install?.(app)
|
|
31
|
-
MTableColumnSetPlugin.install?.(app)
|
|
32
|
-
MSelectPlugin.install?.(app)
|
|
33
|
-
MSelectTablePlugin.install?.(app)
|
|
34
|
-
MOptionPlugin.install?.(app)
|
|
35
|
-
MSelectV2Plugin.install?.(app)
|
|
36
|
-
MDialogPlugin.install?.(app)
|
|
37
|
-
MSelectTableV1Plugin.install?.(app)
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
export default BrPlugin
|
|
42
|
-
|
|
43
|
-
export * from './TabPage'
|
|
44
|
-
export * from './MInputNumber'
|
|
45
|
-
export * from './MInline'
|
|
46
|
-
export * from './SkinConfig'
|
|
47
|
-
export * from './MTable'
|
|
48
|
-
export * from './MTableColumn'
|
|
49
|
-
export * from './MTableColumnSet'
|
|
50
|
-
export * from './MSelect'
|
|
51
|
-
export * from './MSelectTable'
|
|
52
|
-
export * from './MSelectV2'
|
|
53
|
-
export * from './MDialog'
|
|
54
|
-
export * from './MSelectTableV1'
|
|
55
|
-
|
|
56
|
-
export { useTableConfig }
|
|
57
|
-
export { moneyFormat }
|
|
58
|
-
export { useRemainingSpace }
|
|
59
|
-
export { useSkin }
|
|
60
|
-
export { useGlobalZIndex }
|
|
61
|
-
export { usePackageConfig }
|
package/docs/packages/list.json
DELETED
|
@@ -1,80 +0,0 @@
|
|
|
1
|
-
[
|
|
2
|
-
{
|
|
3
|
-
"compName": "TabPage",
|
|
4
|
-
"compZhName": "标签页组件",
|
|
5
|
-
"compDesc": "这是一个标签页",
|
|
6
|
-
"compClassName": "tab-page"
|
|
7
|
-
},
|
|
8
|
-
{
|
|
9
|
-
"compName": "MInputNumber",
|
|
10
|
-
"compZhName": "数值输入框组件",
|
|
11
|
-
"compDesc": "这是一个数值输入框",
|
|
12
|
-
"compClassName": "m-input-number"
|
|
13
|
-
},
|
|
14
|
-
{
|
|
15
|
-
"compName": "MInline",
|
|
16
|
-
"compZhName": "筛选",
|
|
17
|
-
"compDesc": "这是一个筛选区",
|
|
18
|
-
"compClassName": "m-inline"
|
|
19
|
-
},
|
|
20
|
-
{
|
|
21
|
-
"compName": "SkinConfig",
|
|
22
|
-
"compZhName": "皮肤设置",
|
|
23
|
-
"compDesc": "这是一个皮肤设置组件",
|
|
24
|
-
"compClassName": "skin-cConfig"
|
|
25
|
-
},
|
|
26
|
-
{
|
|
27
|
-
"compName": "MTable",
|
|
28
|
-
"compZhName": "表格组件",
|
|
29
|
-
"compDesc": "这是一个表格组件",
|
|
30
|
-
"compClassName": "m-table"
|
|
31
|
-
},
|
|
32
|
-
{
|
|
33
|
-
"compName": "MTableColumn",
|
|
34
|
-
"compZhName": "表格列组件",
|
|
35
|
-
"compDesc": "这是一个表格列组件",
|
|
36
|
-
"compClassName": "m-table-column"
|
|
37
|
-
},
|
|
38
|
-
{
|
|
39
|
-
"compName": "MTableColumnSet",
|
|
40
|
-
"compZhName": "表格头设置组件",
|
|
41
|
-
"compDesc": "这是一个表格头设置组件",
|
|
42
|
-
"compClassName": "m-table-column-set"
|
|
43
|
-
},
|
|
44
|
-
{
|
|
45
|
-
"compName": "MSelect",
|
|
46
|
-
"compZhName": "下拉选择器组件",
|
|
47
|
-
"compDesc": "这是一个下拉选择器组件",
|
|
48
|
-
"compClassName": "m-select"
|
|
49
|
-
},
|
|
50
|
-
{
|
|
51
|
-
"compName": "MSelectTable",
|
|
52
|
-
"compZhName": "下拉表格选择器",
|
|
53
|
-
"compDesc": "这是一个下拉表格选择器组件",
|
|
54
|
-
"compClassName": "m-select-table"
|
|
55
|
-
},
|
|
56
|
-
{
|
|
57
|
-
"compName": "MSelectV2",
|
|
58
|
-
"compZhName": "下拉选择器组件V2",
|
|
59
|
-
"compDesc": "这是一个下拉选择器V2组件",
|
|
60
|
-
"compClassName": "m-select-v2"
|
|
61
|
-
},
|
|
62
|
-
{
|
|
63
|
-
"compName": "MDialog",
|
|
64
|
-
"compZhName": "对话框组件",
|
|
65
|
-
"compDesc": "这是一个对话框组件",
|
|
66
|
-
"compClassName": "m-dialog"
|
|
67
|
-
},
|
|
68
|
-
{
|
|
69
|
-
"compName": "usePackageConfig",
|
|
70
|
-
"compZhName": "配置保存与获取",
|
|
71
|
-
"compDesc": "这是一个配置保存与获取hook",
|
|
72
|
-
"compClassName": "usePackageConfig"
|
|
73
|
-
},
|
|
74
|
-
{
|
|
75
|
-
"compName": "useTableConfig",
|
|
76
|
-
"compZhName": "表格pageSize",
|
|
77
|
-
"compDesc": "这是一个测试表格pageSize",
|
|
78
|
-
"compClassName": "useTableConfig"
|
|
79
|
-
}
|
|
80
|
-
]
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
/** 分页 */
|
|
2
|
-
export class Page {
|
|
3
|
-
/** 总数 */
|
|
4
|
-
total: number
|
|
5
|
-
/** 分页大小 */
|
|
6
|
-
pageSize: number
|
|
7
|
-
/** 页码 */
|
|
8
|
-
currentPage: number
|
|
9
|
-
/** 分页大小可选项 */
|
|
10
|
-
pageSizesOptions: number[]
|
|
11
|
-
|
|
12
|
-
constructor ({ total = 100, pageSize = 50, currentPage = 1, pageSizesOptions = [50, 100, 300, 500, 800] } = {}) {
|
|
13
|
-
/** 总数 */
|
|
14
|
-
this.total = total
|
|
15
|
-
/** 分页大小 */
|
|
16
|
-
this.pageSize = pageSize
|
|
17
|
-
/** 页码 */
|
|
18
|
-
this.currentPage = currentPage
|
|
19
|
-
/** 分页大小可选项 */
|
|
20
|
-
this.pageSizesOptions = pageSizesOptions
|
|
21
|
-
}
|
|
22
|
-
}
|
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
// declare module 'vue'
|
|
2
|
-
declare module 'js-cookie'
|
|
3
|
-
declare module 'js-base64'
|
|
4
|
-
declare module 'dayjs'
|
|
5
|
-
declare module 'vue-router'
|
|
6
|
-
declare module 'element-plus'
|
|
7
|
-
declare module 'element-plus/dist/locale/zh-cn.mjs'
|
|
8
|
-
declare module 'crypto-js'
|
|
9
|
-
declare module 'crypto-js/enc-base64'
|
|
10
|
-
declare module 'crypto-js/hmac-sha512'
|
|
11
|
-
declare module 'vue-img-cutter'
|
|
12
|
-
declare module 'axios'
|
|
13
|
-
declare module 'vite-plugin-eslint'
|
|
14
|
-
declare module 'decimal'
|
|
15
|
-
declare module 'mathjs'
|
|
16
|
-
declare module 'br-dionysus'
|
|
17
|
-
declare module 'vite-plugin-vue-devtools'
|
|
18
|
-
|
|
19
|
-
/** 下拉选项 */
|
|
20
|
-
interface Option {
|
|
21
|
-
/** 选项的标签,若不设置则默认与value相同 */
|
|
22
|
-
label: string | number,
|
|
23
|
-
|
|
24
|
-
/** 选项的值 */
|
|
25
|
-
value: string | number,
|
|
26
|
-
|
|
27
|
-
/** 是否禁用该选项 */
|
|
28
|
-
disabled?: boolean,
|
|
29
|
-
|
|
30
|
-
[propName: string]: any
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
type OptionsKeys = `${string}Options` | `${string}Map`
|
|
34
|
-
|
|
35
|
-
// /** 下拉选项及枚举映射集合 */
|
|
36
|
-
// interface Filter {
|
|
37
|
-
// [propName: OptionsKeys]: Option[]
|
|
38
|
-
// }
|
|
39
|
-
|
|
40
|
-
/** 表头 */
|
|
41
|
-
interface TableTitle {
|
|
42
|
-
/** 显示的标题 */
|
|
43
|
-
label: string,
|
|
44
|
-
/** 字段名称 对应列内容的字段名, 也可以使用 property属性 */
|
|
45
|
-
prop: string
|
|
46
|
-
/** 对应列的最小宽度, 对应列的最小宽度, 与 width 的区别是 width 是固定的,min-width 会把剩余宽度按比例分配给设置了 min-width 的列 */
|
|
47
|
-
minWidth?: number | string,
|
|
48
|
-
/** 列的 className */
|
|
49
|
-
className?: string,
|
|
50
|
-
/** 对应列是否可以排序, 如果设置为 'custom',则代表用户希望远程排序,需要监听 Table 的 sort-change 事件 */
|
|
51
|
-
sortable?: boolean,
|
|
52
|
-
/** 指定数据按照哪个属性进行排序,仅当 sortable 设置为 true 且没有设置 sort-method 的时候有效。 如果 sort-by 为数组,则先按照第 1 个属性排序,如果第 1 个相等,再按照第 2 个排序,以此类推 */
|
|
53
|
-
sortBy?: (row: any, index: number) => string | string | string[],
|
|
54
|
-
/** 数据在排序时所使用排序策略的轮转顺序,仅当 sortable 为 true 时有效。 需传入一个数组,随着用户点击表头,该列依次按照数组中元素的顺序进行排序 */
|
|
55
|
-
sortOrders?: ('ascending' | 'descending' | null)[],
|
|
56
|
-
/** 数据过滤的选项, 数组格式,数组中的元素需要有 text 和 value 属性。 数组中的每个元素都需要有 text 和 value 属性。 */
|
|
57
|
-
filters?: {
|
|
58
|
-
text: string | number,
|
|
59
|
-
value: string | number
|
|
60
|
-
}[],
|
|
61
|
-
/** 数据过滤使用的方法, 如果是多选的筛选项,对每一条数据会执行多次,任意一次返回 true 就会显示。 */
|
|
62
|
-
filterMethod?: Function,
|
|
63
|
-
/** 表头对齐方式, 若不设置该项,则使用表格的对齐方式 */
|
|
64
|
-
headerAlign?: 'left' | 'center' | 'right',
|
|
65
|
-
/** 对齐方式 */
|
|
66
|
-
align?: 'left' | 'center' | 'right',
|
|
67
|
-
/** 列是否固定在左侧或者右侧。 true 表示固定在左侧 */
|
|
68
|
-
fixed?: 'left' | 'right' | boolean,
|
|
69
|
-
}
|