public_host 4 years ago
parent
commit
226772f9ce
  1. 3
      hasaki-gen-crud/hasaki-gen-crud.js

3
hasaki-gen-crud/hasaki-gen-crud.js

@ -91,8 +91,7 @@ try {
text = tmp[1]
text = text.replace(/Temp3A60/g, struct)
let structHeadLower = struct
structHeadLower[0] = struct[0].toLocaleLowerCase()
let structHeadLower = struct[0].toLocaleLowerCase() + struct.slice(1)
console.log("structHeadLower", structHeadLower, struct[0].toLocaleLowerCase())
text = text.replace(/TempLowHead3A60/g, structHeadLower)
text = text.replace(/Prefix3A60/g, prefix)

Loading…
Cancel
Save