theme.js
394 Bytes
/*
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-03-20 14:50:19
*/
import Vue from 'vue'
export default function getTheme (theme = Vue.prototype.BASE_API.THEME) {
const resultMap = {
'jg': function () {
import("@/styles/jgPublic.scss")
},
'sjsb': function () {
},
default: function () {
},
}
return resultMap[theme]() || resultMap.default()
}