cas sso单点登录对接ok,但后端需要根路径才能使用

This commit is contained in:
clay
2022-09-01 23:30:04 +08:00
parent 5bb43271fe
commit 812a7b4595
11 changed files with 70 additions and 16 deletions

View File

@@ -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])
}
}