This commit is contained in:
theluyuan 2021-05-12 10:34:24 +08:00
parent f7331951b7
commit 2288224865

View File

@ -1,9 +1,9 @@
<template> <template>
<div class="sitteng"> <div class="sitteng">
<div class="nav"> <div class="nav">
<button @click="navto('index')">到index</button> <button @click="navto('/sitteng/index')">到index</button>
<button @click="navto('user')">到user</button> <button @click="navto('/sitteng/user')">到user</button>
<button @click="navto('admin')">到admin</button> <button @click="navto('/sitteng/admin')">到admin</button>
</div> </div>
<div class="box"> <div class="box">
<router-view></router-view> <router-view></router-view>