|
|
|
@ -5,24 +5,10 @@ import store from "./store"; |
|
|
|
|
import ElementUI from 'element-ui' |
|
|
|
|
import util from '@/util' |
|
|
|
|
import '@/styles/index.scss'; |
|
|
|
|
const systemId = util.getCookie('systemId') |
|
|
|
|
if (systemId == 1) { |
|
|
|
|
require('@/styles/theme/theme1.scss') |
|
|
|
|
} else if (systemId == 4) { |
|
|
|
|
require('@/styles/theme/theme4.scss') |
|
|
|
|
} else if (systemId == 5) { |
|
|
|
|
require('@/styles/theme/theme5.scss') |
|
|
|
|
} else if (systemId == 6) { |
|
|
|
|
require('@/styles/theme/theme6.scss') |
|
|
|
|
} else if (systemId == 7) { |
|
|
|
|
require('@/styles/theme/theme7.scss') |
|
|
|
|
} else if (systemId == 8) { |
|
|
|
|
require('@/styles/theme/theme8.scss') |
|
|
|
|
} else if (systemId == 9) { |
|
|
|
|
require('@/styles/theme/theme9.scss') |
|
|
|
|
} else if (systemId == 10) { |
|
|
|
|
require('@/styles/theme/theme10.scss') |
|
|
|
|
} |
|
|
|
|
const systemId = util.getCookie('systemId') ? Number(util.getCookie('systemId')) : 1 |
|
|
|
|
console.log('main', systemId, `@/styles/theme/theme${systemId}.scss`) |
|
|
|
|
// require(`@/styles/theme/theme${systemId}.scss`)
|
|
|
|
|
require(`@/styles/theme/theme1.scss`) |
|
|
|
|
import api from './api'; |
|
|
|
|
import { |
|
|
|
|
post, |
|
|
|
|