初始化

This commit is contained in:
wwz
2025-02-07 13:56:35 +08:00
parent f1025605d7
commit 20b5539a82
513 changed files with 56948 additions and 1 deletions

View File

@@ -0,0 +1,41 @@
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
},
// 开启右侧插槽
rightSlot: {
type: Boolean,
default: false
}
}
})