expressForm的更新

master
cxy 2 weeks ago
parent a8857a3032
commit ee6648eef5

@ -1,13 +0,0 @@
<template>
<h1>这是快递表单页面</h1>
<router-link to="/expressform/page1">这是页面1</router-link>
<router-link to="/expressform/page2">这是页面2</router-link>
<router-view></router-view>
</template>
<script setup>
</script>
<style>
</style>

@ -39,7 +39,7 @@
<span>我要求寄件</span> <span>我要求寄件</span>
</template> </template>
<el-menu-item-group> <el-menu-item-group>
<router-link to="/user/sendPackage"> <router-link to="/user/expressForm">
<el-menu-item index="1-1">寄快递</el-menu-item> <el-menu-item index="1-1">寄快递</el-menu-item>
</router-link> </router-link>
<el-menu-item index="1-2">提交寄件</el-menu-item> <el-menu-item index="1-2">提交寄件</el-menu-item>
@ -143,20 +143,3 @@
console.log(key, keyPath) console.log(key, keyPath)
} }
</script> </script>
<!-- <template>
<h1>Index主页</h1>
<router-link :to="{path:'/login'}">前往登录页面</router-link>
<router-link :to="{path:'/address'}">这是卓越快递地址管理页面</router-link>
<router-link to="/expressform">这是快递表单页面</router-link>
</template>
<script setup>
import login from '/src/View/login.vue';
import Address from '/src/View/Address.vue';
import Expressform from '/src/View/Expressform.vue';
</script>
<style>
</style> -->

@ -7,7 +7,7 @@
<script setup> <script setup>
import login from '../View/login.vue'; import login from '../View/login.vue';
import Address from '../View/Address.vue'; import Address from '../View/Address.vue';
import Expressform from '../View/Expressform.vue'; import Expressform from '../View/user/ExpressForm.vue';
</script> </script>
<style> <style>

@ -32,8 +32,8 @@ const router = createRouter({
component: () => import('./View/user/ExpressList.vue'), component: () => import('./View/user/ExpressList.vue'),
}, },
{ {
path: 'sendPackage', path: 'expressForm',
component: () => import('./View/user/SendPackage.vue'), component: () => import('./View/user/ExpressForm.vue'),
} }
] ]
}, },

Loading…
Cancel
Save