Skip to content

Commit

Permalink
添加项目信息,修改细节
Browse files Browse the repository at this point in the history
  • Loading branch information
jsxiaosi committed Jun 13, 2021
1 parent 9ccf662 commit 4b07883
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 25 deletions.
11 changes: 9 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
{
"version": "0.0.0",
"name": "vite+vue3 Template",
"version": "0.0.1",
"author": {
"name": "小斯斯",
"email": "[email protected]",
"url": "https://github.com/anncwb"
},
"scripts": {
"dev": "vite",
"build": "vite build",
Expand All @@ -16,5 +22,6 @@
"sass": "^1.34.0",
"vite": "^2.3.5",
"vite-plugin-style-import": "^0.10.1"
}
},
"license": "MIT"
}
1 change: 1 addition & 0 deletions src/layouts/components/Sidebar/Link.vue
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ const props = defineProps({
const isExternal = computed(() => isExt(props.to));
// 判断是否是外部链接,如果是外部链接,使用标签
const type = computed(() => {
if (isExternal.value) {
return "a";
Expand Down
22 changes: 0 additions & 22 deletions src/router/otherRoute.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,28 +25,6 @@ export const safeManagerRoutes = [
meta: { title: 'index', icon: 'el-icon-phone-outline' }
}
]
},
{
path: '/deta',
component: Layout,
redirect: '/deta/datelist/',
name: '客户',
alwaysShow: true,
meta: { title: '客户', icon: 'el-icon-user-solid' },
children: [
{
path: 'datelist',
name: 'datelist',
component: () => import('@/views/useradmin/userlist/index.vue'),
meta: { title: '客户列表', icon: 'el-icon-s-tools' }
},
{
path: 'dateindex',
name: '客户详情',
component: () => import('@/views/index/index.vue'),
meta: { title: '客户详情', icon: 'el-icon-phone-outline' }
}
]
}
]

Expand Down
2 changes: 1 addition & 1 deletion vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export default defineConfig({
},
plugins: [
vue(),
// 按需引入组件库样式(目前使用element引入方式是完整引入)
// 按需引入组件库样式
styleImport({
libs: [{
libraryName: 'element-plus',
Expand Down

0 comments on commit 4b07883

Please sign in to comment.