提交 0b6e7515 编写于 作者: P Pan

perf: optimize some code

上级 dd9fb09a
...@@ -41,7 +41,7 @@ export default { ...@@ -41,7 +41,7 @@ export default {
} }
} }
</script> </script>
<style lang="scss"> <style lang="scss" scoped>
.board-column { .board-column {
min-width: 300px; min-width: 300px;
min-height: 100px; min-height: 100px;
...@@ -81,7 +81,7 @@ export default { ...@@ -81,7 +81,7 @@ export default {
line-height: 54px; line-height: 54px;
padding: 5px 10px; padding: 5px 10px;
box-sizing: border-box; box-sizing: border-box;
box-shadow: 0px 1px 3px 0 rgba(0,0,0,0.2); box-shadow: 0px 1px 3px 0 rgba(0, 0, 0, 0.2);
} }
} }
} }
......
<template> <template>
<svg :class="svgClass" aria-hidden="true"> <svg :class="svgClass" aria-hidden="true" v-on="$listeners">
<use :xlink:href="iconName"/> <use :xlink:href="iconName"/>
</svg> </svg>
</template> </template>
......
...@@ -297,13 +297,12 @@ export const asyncRouterMap = [ ...@@ -297,13 +297,12 @@ export const asyncRouterMap = [
path: '/pdf', path: '/pdf',
component: Layout, component: Layout,
redirect: '/pdf/index', redirect: '/pdf/index',
meta: { title: 'pdf', icon: 'pdf' },
children: [ children: [
{ {
path: 'index', path: 'index',
component: () => import('@/views/pdf/index'), component: () => import('@/views/pdf/index'),
name: 'PDF', name: 'PDF',
meta: { title: 'pdf' } meta: { title: 'pdf', icon: 'pdf' }
} }
] ]
}, },
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册