|
458 | 458 | </v-expansion-panel-header> |
459 | 459 | <v-expansion-panel-content> |
460 | 460 | <v-list dense nav class="ma-n4"> |
461 | | - <template v-for="(app, appIdx) in favApps" :key="app.id"> |
462 | | - <v-list-item dense @click="switchAppView(app.id)"> |
| 461 | + <template v-for="(app, appIdx) in favApps"> |
| 462 | + <v-list-item dense @click="switchAppView(app.id)" :key="app.id"> |
463 | 463 | <v-list-item-avatar class="elevation-3"><v-img :src="app.icon" /></v-list-item-avatar> |
464 | 464 | <v-list-item-content> |
465 | 465 | <v-list-item-title>{{app.name}} ({{app.id}})</v-list-item-title> |
|
500 | 500 | </v-expansion-panel-header> |
501 | 501 | <v-expansion-panel-content> |
502 | 502 | <v-list dense nav class="ma-n4"> |
503 | | - <template v-for="(app, appIdx) in sub.apps" :key="app.id"> |
504 | | - <v-list-item dense @click="switchAppView(app.id)"> |
| 503 | + <template v-for="(app, appIdx) in sub.apps"> |
| 504 | + <v-list-item dense @click="switchAppView(app.id)" :key="app.id"> |
505 | 505 | <v-list-item-avatar class="elevation-3"><v-img :src="app.icon" /></v-list-item-avatar> |
506 | 506 | <v-list-item-content> |
507 | 507 | <v-list-item-title>{{app.name}} ({{app.id}})</v-list-item-title> |
|
528 | 528 | </v-expansion-panel-header> |
529 | 529 | <v-expansion-panel-content> |
530 | 530 | <v-list dense nav class="ma-n4"> |
531 | | - <template v-for="(app, appIdx) in sysApps" :key="app.id"> |
532 | | - <v-list-item dense @click="switchAppView(app.id)"> |
| 531 | + <template v-for="(app, appIdx) in sysApps"> |
| 532 | + <v-list-item dense @click="switchAppView(app.id)" :key="app.id"> |
533 | 533 | <v-list-item-avatar class="elevation-3"><v-img :src="app.icon" /></v-list-item-avatar> |
534 | 534 | <v-list-item-content> |
535 | 535 | <v-list-item-title>{{app.name}} ({{app.id}})</v-list-item-title> |
@@ -882,8 +882,8 @@ <h2>{{curapp.name}}</h2> |
882 | 882 | <v-icon color="primary" @click="addAppSubDialog = true">mdi-plus-circle</v-icon> |
883 | 883 | </v-btn> |
884 | 884 | </v-subheader> |
885 | | - <template v-for="(sub, subIdx) in appSubs" :key="sub.id"> |
886 | | - <v-list-item dense two-line @click="reloadAppSub(sub)"> |
| 885 | + <template v-for="(sub, subIdx) in appSubs"> |
| 886 | + <v-list-item dense two-line @click="reloadAppSub(sub)" :key="sub.id"> |
887 | 887 | <v-list-item-avatar v-if="sub.icon"><v-img :src="sub.icon" /></v-list-item-avatar> |
888 | 888 | <v-list-item-avatar v-else color="primary"><v-icon dark>mdi-account</v-icon></v-list-item-avatar> |
889 | 889 | <v-list-item-content> |
@@ -1166,6 +1166,9 @@ <h2 :class="version === ver.version ? 'primary--text' : undefined">v{{ver.versio |
1166 | 1166 | <script src="https://cdn.jsdelivr.net/npm/vue-clipboard2@0.x/dist/vue-clipboard.min.js"></script> |
1167 | 1167 | <script src="https://cdn.jsdelivr.net/npm/monaco-editor@0.20.0/min/vs/loader.js"></script> |
1168 | 1168 | <script> |
| 1169 | + Vue.prototype.timeago = timeago |
| 1170 | + Vue.prototype.dayjs = dayjs |
| 1171 | + |
1169 | 1172 | new Vue({ |
1170 | 1173 | el: '#app', |
1171 | 1174 | vuetify: new Vuetify(), |
|
0 commit comments