-
zhangwei
2024-08-22 d5eb1ecff5d0236359c744b334cf30fcfdad1132
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
import { defineMixin } from '../../libs/vue'
import defProps from '../../libs/config/props.js'
export const props = defineMixin({
    props: {
        // 是否展示工具条
        show: {
            type: Boolean,
            default: () => defProps.toolbar.show
        },
        // 取消按钮的文字
        cancelText: {
            type: String,
            default: () => defProps.toolbar.cancelText
        },
        // 确认按钮的文字
        confirmText: {
            type: String,
            default: () => defProps.toolbar.confirmText
        },
        // 取消按钮的颜色
        cancelColor: {
            type: String,
            default: () => defProps.toolbar.cancelColor
        },
        // 确认按钮的颜色
        confirmColor: {
            type: String,
            default: () => defProps.toolbar.confirmColor
        },
        // 标题文字
        title: {
            type: String,
            default: () => defProps.toolbar.title
        }
    }
})