解决后端使用simple-json 和 simple-array列类型时前端无法创建eps的问题

后端使用此两个类型后,创建eps.d.ts会把这两个类型直接指定为成员类型,但是由于该两种类型并未ts原生类型。所以前端创建eps总是失败,导致一系列问题。增加这两个转换的配置即可解决该问题。
This commit is contained in:
xinnix 2023-02-20 17:05:58 +08:00 committed by GitHub
parent 81649d7e07
commit 76aacf6c21
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -12,7 +12,11 @@ export default {
},
{
type: "string",
test: ["varchar", "text"]
test: ["varchar", "text","simple-json"]
},
{
type: "string[]",
test: ["simple-array"]
},
{
type: "Date",