Skip to content

Commit

Permalink
hua aide-pro(add only page)
Browse files Browse the repository at this point in the history
  • Loading branch information
yichen9247 committed Aug 15, 2024
1 parent 5ac6806 commit b051b38
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
5 changes: 3 additions & 2 deletions src/pages/PageTeam.vue
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<!-- eslint-disable no-undef -->

<script setup>
/**
Expand All @@ -12,8 +13,8 @@
onMounted(async () => {
await utils.axiostool.sendHttpGet(utils.apiConfig.team).then((data) => {
teanPersonList.value = data.data;
}).catch(async (error) => {
throw new Error(error);
}).catch(async () => {
ElMessage({ message: '请求接口失败', type: 'error', plain: true});
});
});

Expand Down
5 changes: 3 additions & 2 deletions src/pages/PageVersion.vue
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<!-- eslint-disable no-undef -->

<script setup>
/**
Expand All @@ -13,8 +14,8 @@
onMounted(async () => {
await utils.axiostool.sendHttpGet(utils.apiConfig.version).then((data) => {
versionList.value = data.data;
}).catch(async (error) => {
throw new Error(error);
}).catch(async () => {
ElMessage({ message: '请求接口失败', type: 'error', plain: true});
});
});

Expand Down

0 comments on commit b051b38

Please sign in to comment.