cas sso单点登录对接ok,但后端需要根路径才能使用
This commit is contained in:
@@ -248,12 +248,13 @@ export default {
|
||||
getArticleType().then(res => {
|
||||
let dictCodes = res.data
|
||||
let articleList = this.articleTypeOptions
|
||||
console.log("dictCodes",dictCodes,"articleList",articleList)
|
||||
for (let i = 0; i < articleList.length; i++) {
|
||||
for (let j = 0; j < dictCodes.length; j++) {
|
||||
if (articleList[i].dictCode === dictCodes[j]) {
|
||||
if (articleList[i].attribute2 === 1) {
|
||||
if (articleList[i].dictCode == dictCodes[j]) {
|
||||
if (articleList[i].attribute2 == 1) {
|
||||
this.sistArticleTypeOption.push(articleList[i])
|
||||
} else if (articleList[i].attribute2 === 2) {
|
||||
} else if (articleList[i].attribute2 == 2) {
|
||||
this.labArticleTypeOption.push(articleList[i])
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user