mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/unity.git
synced 2026-08-19 04:13:58 +00:00
ad85832e75
user login UI
21 lines
420 B
Vue
21 lines
420 B
Vue
<template>
|
|
<div id="app">
|
|
<component :is="layout">
|
|
<transition name="fade" mode="out-in">
|
|
<router-view></router-view>
|
|
</transition>
|
|
</component>
|
|
</div>
|
|
</template>
|
|
|
|
<script>
|
|
const default_layout = "default";
|
|
export default {
|
|
computed: {
|
|
layout() {
|
|
let vm = this;
|
|
return (vm.$route.meta.layout || default_layout) + '-layout';
|
|
}
|
|
}
|
|
}
|
|
</script> |