1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
| <template>
| <div>
| <i-frame v-if="!loading" :src="url" />
| </div>
| </template>
| <script>
| import iFrame from "@/components/iFrame/index";
| import { getConfigKey } from "@/api/infra/config";
| export default {
| name: "InfraAdminServer",
| components: { iFrame },
| data() {
| return {
| url: process.env.VUE_APP_BASE_API + "/admin/applications",
| loading: true
| };
| },
| created() {
| getConfigKey("url.spring-boot-admin").then(response => {
| if (!response.data || response.data.length === 0) {
| return
| }
| this.url = response.data;
| }).finally(() => {
| this.loading = false;
| })
| }
| };
| </script>
|
|