fix:(amis-editor)修复添加动作 (#9355)

Co-authored-by: liuguihua <liuguihua@baidu.com>
This commit is contained in:
lghxuelang 2024-01-08 14:48:30 +08:00 committed by GitHub
parent 1e3ab37e69
commit 383abc9f86
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -49,7 +49,7 @@ export const schemaArrayFormat = (value: any) => {
* @param options
* @returns
*/
export const resolveOptionType = (schema: any) => {
export const resolveOptionType = (schema: any = {}) => {
const {options, valueField} = schema;
if (!options) {
return 'string';