less中的导入 @import 与 src别名 @ 会出现冲突 因此,要在src别名 @ 前加上 ~
<style scoped lang="less"> @import "~@/assets/css/common"; </style>