mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-11 03:46:44 +08:00
修改回来课程受众问题
This commit is contained in:
@@ -667,18 +667,18 @@ export default {
|
|||||||
localSessionKey: this.$xpage.constants.localCourseFiltersKey
|
localSessionKey: this.$xpage.constants.localCourseFiltersKey
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
|
// 受众需要每次刷新
|
||||||
created() {
|
// created() {
|
||||||
let localKey = "user_" + this.userInfo.sysId + "_gids";
|
// let localKey = "user_" + this.userInfo.sysId + "_gids";
|
||||||
apiUserbasic.getInAudienceIds().then(rs => {
|
// apiUserbasic.getInAudienceIds().then(rs => {
|
||||||
if (rs.status == 200) {
|
// if (rs.status == 200) {
|
||||||
this.audiences = rs.result;
|
// this.audiences = rs.result;
|
||||||
sessionStorage.setItem(localKey, this.audiences);
|
// sessionStorage.setItem(localKey, this.audiences);
|
||||||
} else {
|
// } else {
|
||||||
console.log(rs.message);
|
// console.log(rs.message);
|
||||||
}
|
// }
|
||||||
})
|
// })
|
||||||
},
|
// },
|
||||||
mounted() {
|
mounted() {
|
||||||
let screenWidth = window.screen.availWidth;
|
let screenWidth = window.screen.availWidth;
|
||||||
// if (screenWidth < 1280) {
|
// if (screenWidth < 1280) {
|
||||||
|
|||||||
Reference in New Issue
Block a user