minor
This commit is contained in:
@@ -21,7 +21,7 @@ export default {
|
||||
},
|
||||
methods: {
|
||||
next () {
|
||||
window.location='/'
|
||||
window.location='/admin'
|
||||
},
|
||||
async start (user) {
|
||||
this.user = { ...user }
|
||||
@@ -29,7 +29,6 @@ export default {
|
||||
|
||||
try {
|
||||
await this.$axios.$get('/ping')
|
||||
// window.location='/'
|
||||
this.loading = false
|
||||
} catch (e) {
|
||||
setTimeout(() => this.start(user), 1000)
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
v-text-field(type='password' v-model='db.password' label='Password' :rules="[$validators.required('password')]")
|
||||
|
||||
v-card-actions
|
||||
v-btn(text @click='checkDb' color='primary' :loading='loading' :disabled='loading') {{$t('setup.check_db')}}
|
||||
v-btn(text @click='checkDb' color='primary' :loading='loading' :disabled='loading') {{$t('common.next')}}
|
||||
v-icon mdi-arrow-right
|
||||
</template>
|
||||
<script>
|
||||
|
||||
Reference in New Issue
Block a user