# 没有啥,看左边去
# Test
<template>
<div class="box-vue">
<el-button type="primary">Vue {{ message }}</el-button>
</div>
</template>
<script>
export default {
data: () => ({ message: 'Hello World' }),
async mounted() {
const { data } = await axios.get(
'https://cdn.bootcdn.net/ajax/libs/axios/1.1.3/axios.js'
)
console.log(data)
},
}
</script>
<style>
.box-vue {
color: red;
}
</style>
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
显示代码 复制代码 复制代码