Browse Source

model rm

main
cobb 3 years ago
parent
commit
8f2098989d
  1. 3
      src/components/HelloWorld.vue

3
src/components/HelloWorld.vue

@ -471,7 +471,8 @@ export default {
console.log("struct", struct); console.log("struct", struct);
const requires = v.required; const requires = v.required;
const properties = v.properties; const properties = v.properties;
const tableName = toCamelCase(v.title);
const title = rmPrefix(v.title);
const tableName = toCamelCase(title);
const tableNameLower = lowerCase(tableName); const tableNameLower = lowerCase(tableName);
var primary = ``; var primary = ``;
Object.keys(properties).forEach(function (key) { Object.keys(properties).forEach(function (key) {

Loading…
Cancel
Save