prefix.js 167 Bytes
Newer Older
李晓兵's avatar
李晓兵 committed
1 2 3 4 5 6 7 8 9 10
const preName = 'hls'

export default {
  methods: {
    // 生成 css class
    b (className) {
      return className ? `${preName}-${className}` : ''
    },
  },
}