code refactor
This commit is contained in:
@@ -409,7 +409,6 @@ export default {
|
|||||||
},
|
},
|
||||||
submit() {
|
submit() {
|
||||||
const self = this;
|
const self = this;
|
||||||
const router = self.f7router;
|
|
||||||
|
|
||||||
const problemMessage = self.inputEmptyProblemMessage || self.inputInvalidProblemMessage;
|
const problemMessage = self.inputEmptyProblemMessage || self.inputInvalidProblemMessage;
|
||||||
|
|
||||||
|
|||||||
@@ -45,7 +45,7 @@
|
|||||||
</thead>
|
</thead>
|
||||||
|
|
||||||
<tbody>
|
<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">
|
<td class="px-0" colspan="2">
|
||||||
<v-skeleton-loader type="text" :loading="true"></v-skeleton-loader>
|
<v-skeleton-loader type="text" :loading="true"></v-skeleton-loader>
|
||||||
</td>
|
</td>
|
||||||
|
|||||||
@@ -99,7 +99,8 @@
|
|||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<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">
|
<td class="px-0" colspan="4">
|
||||||
<v-skeleton-loader type="text" :loading="true"></v-skeleton-loader>
|
<v-skeleton-loader type="text" :loading="true"></v-skeleton-loader>
|
||||||
</td>
|
</td>
|
||||||
|
|||||||
Reference in New Issue
Block a user