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>
<style lang="scss">
<style lang="scss" scoped>
.board-column {
min-width: 300px;
min-height: 100px;
@ -81,7 +81,7 @@ export default {
line-height: 54px;
padding: 5px 10px;
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>
<svg :class="svgClass" aria-hidden="true">
<svg :class="svgClass" aria-hidden="true" v-on="$listeners">
<use :xlink:href="iconName"/>
</svg>
</template>

View File

@ -297,13 +297,12 @@ export const asyncRouterMap = [
path: '/pdf',
component: Layout,
redirect: '/pdf/index',
meta: { title: 'pdf', icon: 'pdf' },
children: [
{
path: 'index',
component: () => import('@/views/pdf/index'),
name: 'PDF',
meta: { title: 'pdf' }
meta: { title: 'pdf', icon: 'pdf' }
}
]
},