theme.js 431 Bytes
/*
 * @Description: 
 * @Autor: renchao
 * @LastEditTime: 2023-03-21 13:42:13
 */
import Vue from 'vue'
export default function getTheme (theme = Vue.prototype.BASE_API.THEME) {
  const resultMap = {
    'jg': function () {
      import("@/styles/jgPublic.scss")
    },
    'sb': function () {
      import("@/styles/sbPublic.scss")
    },
    default: function () {
    },
  }
  return resultMap[theme]() || resultMap.default()
}