add auto pk field mapping

This commit is contained in:
long2ice
2020-04-11 15:03:21 +08:00
parent 3cdfdd2b36
commit eb7b0742d6
10 changed files with 255 additions and 248 deletions

View File

@@ -3,13 +3,11 @@
# Change if you put the built files to a sub directory. e.g. /admin/
PRODUCTION_BASE_URL=/
# Your backend restful api base url, end with slash `/`
# Your backend restful api base url, end with slash `/`
# for example
# VUE_APP_API_URL=http://localhost:3333/admin/api/
# this is the built-in test api server, use `npm run test-api` to run it.
VUE_APP_API_URL=http://localhost:8088/admin/api/
# The primary key field name in you database, e.g: mongodb use `_id`
VUE_APP_PRIMARY_KEY=_id