diff --git a/src/components/HelloWorld.vue b/src/components/HelloWorld.vue index a796037..dc16f9b 100644 --- a/src/components/HelloWorld.vue +++ b/src/components/HelloWorld.vue @@ -471,7 +471,8 @@ export default { console.log("struct", struct); const requires = v.required; const properties = v.properties; - const tableName = toCamelCase(v.title); + const title = rmPrefix(v.title); + const tableName = toCamelCase(title); const tableNameLower = lowerCase(tableName); var primary = ``; Object.keys(properties).forEach(function (key) {