Skip to content

Commit

Permalink
Merge pull request #212 from id77/master
Browse files Browse the repository at this point in the history
修复key报错,以及开发环境的插件实例丢失错误
  • Loading branch information
chavyleung authored Aug 18, 2020
2 parents 3d41b07 + b7f98f3 commit 9f1ce97
Showing 1 changed file with 11 additions and 8 deletions.
19 changes: 11 additions & 8 deletions box/chavy.boxjs.html
Original file line number Diff line number Diff line change
Expand Up @@ -458,8 +458,8 @@
</v-expansion-panel-header>
<v-expansion-panel-content>
<v-list dense nav class="ma-n4">
<template v-for="(app, appIdx) in favApps" :key="app.id">
<v-list-item dense @click="switchAppView(app.id)">
<template v-for="(app, appIdx) in favApps">
<v-list-item dense @click="switchAppView(app.id)" :key="app.id">
<v-list-item-avatar class="elevation-3"><v-img :src="app.icon" /></v-list-item-avatar>
<v-list-item-content>
<v-list-item-title>{{app.name}} ({{app.id}})</v-list-item-title>
Expand Down Expand Up @@ -500,8 +500,8 @@
</v-expansion-panel-header>
<v-expansion-panel-content>
<v-list dense nav class="ma-n4">
<template v-for="(app, appIdx) in sub.apps" :key="app.id">
<v-list-item dense @click="switchAppView(app.id)">
<template v-for="(app, appIdx) in sub.apps">
<v-list-item dense @click="switchAppView(app.id)" :key="app.id">
<v-list-item-avatar class="elevation-3"><v-img :src="app.icon" /></v-list-item-avatar>
<v-list-item-content>
<v-list-item-title>{{app.name}} ({{app.id}})</v-list-item-title>
Expand All @@ -528,8 +528,8 @@
</v-expansion-panel-header>
<v-expansion-panel-content>
<v-list dense nav class="ma-n4">
<template v-for="(app, appIdx) in sysApps" :key="app.id">
<v-list-item dense @click="switchAppView(app.id)">
<template v-for="(app, appIdx) in sysApps">
<v-list-item dense @click="switchAppView(app.id)" :key="app.id">
<v-list-item-avatar class="elevation-3"><v-img :src="app.icon" /></v-list-item-avatar>
<v-list-item-content>
<v-list-item-title>{{app.name}} ({{app.id}})</v-list-item-title>
Expand Down Expand Up @@ -882,8 +882,8 @@ <h2>{{curapp.name}}</h2>
<v-icon color="primary" @click="addAppSubDialog = true">mdi-plus-circle</v-icon>
</v-btn>
</v-subheader>
<template v-for="(sub, subIdx) in appSubs" :key="sub.id">
<v-list-item dense two-line @click="reloadAppSub(sub)">
<template v-for="(sub, subIdx) in appSubs">
<v-list-item dense two-line @click="reloadAppSub(sub)" :key="sub.id">
<v-list-item-avatar v-if="sub.icon"><v-img :src="sub.icon" /></v-list-item-avatar>
<v-list-item-avatar v-else color="primary"><v-icon dark>mdi-account</v-icon></v-list-item-avatar>
<v-list-item-content>
Expand Down Expand Up @@ -1166,6 +1166,9 @@ <h2 :class="version === ver.version ? 'primary--text' : undefined">v{{ver.versio
<script src="https://cdn.jsdelivr.net/npm/vue-clipboard2@0.x/dist/vue-clipboard.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/monaco-editor@0.20.0/min/vs/loader.js"></script>
<script>
Vue.prototype.timeago = timeago
Vue.prototype.dayjs = dayjs

new Vue({
el: '#app',
vuetify: new Vuetify(),
Expand Down

0 comments on commit 9f1ce97

Please sign in to comment.