From f9c38ed1b72fc96b96c1d3ffdcc1a66b03bd3b73 Mon Sep 17 00:00:00 2001 From: inleft <inleft@qq.com> Date: Fri, 21 Jan 2022 18:03:07 +0800 Subject: [PATCH] 布局修改,小工具添加,mock数据接入,接口模拟请求 --- src/components/mini/box1-info.vue | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/src/components/mini/box1-info.vue b/src/components/mini/box1-info.vue index ea66ad9..4e14603 100644 --- a/src/components/mini/box1-info.vue +++ b/src/components/mini/box1-info.vue @@ -17,6 +17,7 @@ </template> <script> + import { getAppPage } from '/src/api/appManage.js' export default { name: "box", data() { @@ -26,6 +27,12 @@ sentence: "十里寒塘路,烟花一半醒", location: "广州" } + }, + created() { + console.log(getAppPage().then((res) => { + console.log(res); + return res + })); } } </script> -- Gitblit v1.9.1