|
@@ -12,6 +12,7 @@
|
|
|
<p>
|
|
|
<span v-if="user && user.name"
|
|
|
>{{ user.name }}
|
|
|
+
|
|
|
<button type="button" class="logininfo" @click="zhuxiao">注销</button>
|
|
|
</span>
|
|
|
</p>
|
|
@@ -33,7 +34,6 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
</template>
|
|
|
-
|
|
|
<script>
|
|
|
import { mapState, createNamespacedHelpers } from 'vuex';
|
|
|
const { mapActions: login } = createNamespacedHelpers('login');
|
|
@@ -59,7 +59,7 @@ export default {
|
|
|
this.toLogin();
|
|
|
},
|
|
|
async toLogin() {
|
|
|
- this.$router.push({ path: '/' });
|
|
|
+ this.$router.push({ path: '/platlive' });
|
|
|
},
|
|
|
},
|
|
|
computed: {
|