perf: optimize some code

This commit is contained in:
Pan 2019-02-11 14:51:09 +08:00
parent e574ca0331
commit abc8ce21f4
3 changed files with 4 additions and 5 deletions

View File

@ -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 {
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);
} }
} }
} }

View File

@ -1,5 +1,5 @@
<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>

View File

@ -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' }
} }
] ]
}, },