前端APIのURL参数化対応およびバックエンドのBugFix
This commit is contained in:
@@ -27,7 +27,7 @@ export default {
|
||||
]
|
||||
const rows = reactive([])
|
||||
onMounted(async () => {
|
||||
await api.get('http://127.0.0.1:8000/api/kintone/1').then(res =>{
|
||||
await api.get('api/kintone/1').then(res =>{
|
||||
res.data.forEach((item) =>
|
||||
{
|
||||
rows.push({name:item.name,desc:item.desc,content:item.content});
|
||||
|
||||
Reference in New Issue
Block a user