mirror of
https://gitee.com/huangge1199_admin/vue-pro.git
synced 2024-11-26 09:11:52 +08:00
fix: inputnumber
This commit is contained in:
parent
2de05a87f4
commit
f606bfb12b
@ -41,7 +41,6 @@ const crudSchemas = reactive<VxeCrudSchema>({
|
||||
#elseif(!("" != $column.dictType))
|
||||
#if ($column.htmlType == "datetime")## 时间框
|
||||
form: {
|
||||
show: true,
|
||||
component: 'DatePicker',
|
||||
componentProps: {
|
||||
type: 'datetime',
|
||||
@ -50,7 +49,6 @@ const crudSchemas = reactive<VxeCrudSchema>({
|
||||
},
|
||||
#elseif($column.htmlType == "editor")## 文本编辑器
|
||||
form: {
|
||||
show: true,
|
||||
component: 'Editor',
|
||||
colProps: {
|
||||
span: 24
|
||||
@ -61,7 +59,6 @@ const crudSchemas = reactive<VxeCrudSchema>({
|
||||
},
|
||||
#elseif($column.htmlType == "textarea")## 文本框
|
||||
form: {
|
||||
show: true,
|
||||
component: 'Input',
|
||||
componentProps: {
|
||||
type: 'textarea',
|
||||
@ -71,6 +68,11 @@ const crudSchemas = reactive<VxeCrudSchema>({
|
||||
span: 24
|
||||
}
|
||||
},
|
||||
#elseif(${column.javaType.toLowerCase()} == "long" || ${column.javaType.toLowerCase()} == "integer")## 数字类型
|
||||
form: {
|
||||
component: 'InputNumber',
|
||||
value: 0
|
||||
},
|
||||
#end
|
||||
#end
|
||||
#if ($column.listOperationResult)
|
||||
|
@ -62,7 +62,8 @@ const schema = reactive<FormSchema[]>([
|
||||
{
|
||||
field: 'sex',
|
||||
label: t('profile.user.sex'),
|
||||
component: 'InputNumber'
|
||||
component: 'InputNumber',
|
||||
value: 0
|
||||
}
|
||||
])
|
||||
const sexVlue = ref<number>()
|
||||
|
@ -52,7 +52,8 @@ const crudSchemas = reactive<VxeCrudSchema>({
|
||||
title: '访问令牌的有效期',
|
||||
field: 'accessTokenValiditySeconds',
|
||||
form: {
|
||||
component: 'InputNumber'
|
||||
component: 'InputNumber',
|
||||
value: 0
|
||||
},
|
||||
table: {
|
||||
slots: {
|
||||
@ -64,7 +65,8 @@ const crudSchemas = reactive<VxeCrudSchema>({
|
||||
title: '刷新令牌的有效期',
|
||||
field: 'refreshTokenValiditySeconds',
|
||||
form: {
|
||||
component: 'InputNumber'
|
||||
component: 'InputNumber',
|
||||
value: 0
|
||||
},
|
||||
table: {
|
||||
slots: {
|
||||
|
Loading…
Reference in New Issue
Block a user