commit | author | age | ||
bf6fbe | 1 | <template> |
L | 2 | <div> |
3 | <span v-for="(item, index) in articles" :key="index">{{item}},</span> | |
4 | </div> | |
5 | </template> | |
6 | ||
7 | <script> | |
8 | export default { | |
9 | props: ['articles'], | |
10 | data(){ | |
11 | return { | |
12 | "name":"名咩咩咩咩" | |
13 | } | |
14 | } | |
15 | } | |
16 | </script> |