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