diff --git a/backend/app/api/api_v1/routers/kintone.py b/backend/app/api/api_v1/routers/kintone.py index c7e9ad4..946e5df 100644 --- a/backend/app/api/api_v1/routers/kintone.py +++ b/backend/app/api/api_v1/routers/kintone.py @@ -196,7 +196,7 @@ async def createapp(name:str): property=["label","code","type","required","defaultValue","options"] -@r.post("/createappfromexcel",) +@r.post("/createappfromexcel") async def createappfromexcel(files:t.List[UploadFile] = File(...)): for file in files: if file.filename.endswith('.xlsx'): diff --git a/frontend/.env b/frontend/.env index 00485e5..3e3182f 100644 --- a/frontend/.env +++ b/frontend/.env @@ -1,2 +1,2 @@ -KAB_BACKEND_URL="http://127.0.0.1:8000/api/v1/upload" +KAB_BACKEND_URL="http://127.0.0.1:8000/api/v1/" diff --git a/frontend/quasar.config.js b/frontend/quasar.config.js index b8fff95..b998514 100644 --- a/frontend/quasar.config.js +++ b/frontend/quasar.config.js @@ -108,7 +108,9 @@ module.exports = configure(function (/* ctx */) { // directives: [], // Quasar plugins - plugins: [] + plugins: [ + 'Notify' + ] }, // animations: 'all', // --- includes all animations diff --git a/frontend/src/components/DocUpload.vue b/frontend/src/components/DocUpload.vue index 41a7e75..cfede92 100644 --- a/frontend/src/components/DocUpload.vue +++ b/frontend/src/components/DocUpload.vue @@ -1,13 +1,14 @@