mirror of
https://github.com/nocobase/nocobase
synced 2024-11-15 13:06:31 +00:00
fix: number storage type changed to double (#810)
This commit is contained in:
parent
c50a1923f4
commit
2e8d27bf42
@ -1,6 +1,6 @@
|
||||
import { i18n } from '../../i18n';
|
||||
import { defaultProps, operators, unique } from './properties';
|
||||
import { IField } from './types';
|
||||
import { i18n } from '../../i18n';
|
||||
|
||||
export const number: IField = {
|
||||
name: 'number',
|
||||
@ -10,7 +10,7 @@ export const number: IField = {
|
||||
title: '{{t("Number")}}',
|
||||
sortable: true,
|
||||
default: {
|
||||
type: 'float',
|
||||
type: 'double',
|
||||
// name,
|
||||
uiSchema: {
|
||||
type: 'number',
|
||||
|
@ -16,6 +16,7 @@ export const type: ISchema = {
|
||||
{ label: 'Text', value: 'text' },
|
||||
{ label: 'Integer', value: 'integer' },
|
||||
{ label: 'Float', value: 'float' },
|
||||
{ label: 'Double', value: 'double' },
|
||||
{ label: 'Decimal', value: 'decimal' },
|
||||
{ label: 'Date', value: 'date' },
|
||||
{ label: 'DateOnly', value: 'dateonly' },
|
||||
|
Loading…
Reference in New Issue
Block a user