db.json移动到categories下

This commit is contained in:
zhbaor 2021-11-04 01:16:37 +08:00
parent 3f0febe643
commit 6e7757888d

View file

@ -74,7 +74,7 @@ export default defineComponent({
}; };
}, },
async created() { async created() {
const { data } = await axios.get(`${this.url_root}db.json`); const { data } = await axios.get(`${this.url_root}categories/db.json`);
this.categories = data; this.categories = data;
}, },
}); });