Commit 77598813 by cwq0219

提交

1 parent 54ea59e4
......@@ -5902,9 +5902,9 @@
}
},
"glsx-components": {
"version": "1.1.5",
"resolved": "https://registry.npmjs.org/glsx-components/-/glsx-components-1.1.5.tgz",
"integrity": "sha512-32Omp+4Z4Ze7QSnDg2CL2O1XxAkevU1xh1nDvOv5wHgUCltb1iB5lktQEtSb5DSJTcvk1KmcO41Sa+VjyKa4mA==",
"version": "1.1.7",
"resolved": "https://registry.npmjs.org/glsx-components/-/glsx-components-1.1.7.tgz",
"integrity": "sha512-Y9exLi5wb0Vc1BRLBCsHqGHlnj/hvleJe/J0SGOicWOU9BrYtsWBw8daWHoUDfzKSugprLGS9Cg2iRfZZS5Vrw==",
"requires": {
"core-js": "^3.6.5",
"element-ui": "^2.15.6",
......
......@@ -13,7 +13,7 @@
"el-tree-transfer": "^2.2.6",
"element-ui": "^2.4.5",
"glsx-common": "^1.4.6",
"glsx-components": "^1.1.5",
"glsx-components": "^1.1.7",
"lodash": "^4.17.21",
"vue": "^2.6.10",
"vue-router": "^3.1.3",
......
......@@ -165,5 +165,5 @@ body,html {
}
.marketing .table-img .el-table--medium td.el-table__cell {
padding: 6px 0 !important;
padding: 2px 0 !important;
}
\ No newline at end of file
......@@ -18,12 +18,12 @@ export async function start() {
if (window.__POWERED_BY_QIANKUN__) return
const { response, request, sign, secret } = await fetchConfig()
var urlParams = {}
window.location.href
.split('?')[1]
.split('&')
.forEach(item => {
urlParams[item.split('=')[0]] = item.split('=')[1]
})
// window.location.href
// .split('?')[1]
// .split('&')
// .forEach(item => {
// urlParams[item.split('=')[0]] = item.split('=')[1]
// })
var token = Object.keys(urlParams).includes('sessionId') ? urlParams.sessionId : '1112223333444'
Vue.prototype.$http = new Http({ response, request, sign, secret, alert: message.error, headers: { token: token } })
Vue.use(GLButton, { permissions: ['1-1-1-1', '2-1-1-1', '3-1-1-1'] })
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!