fix: number storage type changed to double (#810)

This commit is contained in:
chenos 2022-09-06 11:40:26 +08:00 committed by GitHub
parent c50a1923f4
commit 2e8d27bf42
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

View File

@ -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',

View File

@ -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' },