code refactor

This commit is contained in:
MaysWind
2023-07-09 01:07:10 +08:00
parent 0b26b75699
commit 386aa0adc1
3 changed files with 3 additions and 3 deletions
-1
View File
@@ -409,7 +409,6 @@ export default {
},
submit() {
const self = this;
const router = self.f7router;
const problemMessage = self.inputEmptyProblemMessage || self.inputInvalidProblemMessage;
+1 -1
View File
@@ -45,7 +45,7 @@
</thead>
<tbody>
<tr v-for="idx in (loading && noAvailableTag ? [1, 2, 3] : [])">
<tr :key="itemIdx" v-for="itemIdx in (loading && noAvailableTag ? [ 1, 2, 3 ] : [])">
<td class="px-0" colspan="2">
<v-skeleton-loader type="text" :loading="true"></v-skeleton-loader>
</td>
@@ -99,7 +99,8 @@
</tr>
</thead>
<tbody>
<tr v-for="idx in (loadingSession && (!sessions || sessions.length < 1) ? [1, 2, 3] : [])">
<tr :key="itemIdx"
v-for="itemIdx in (loadingSession && (!sessions || sessions.length < 1) ? [ 1, 2, 3 ] : [])">
<td class="px-0" colspan="4">
<v-skeleton-loader type="text" :loading="true"></v-skeleton-loader>
</td>