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
|
||||
};
|
||||
},
|
||||
|
||||
created() {
|
||||
let localKey = "user_" + this.userInfo.sysId + "_gids";
|
||||
apiUserbasic.getInAudienceIds().then(rs => {
|
||||
if (rs.status == 200) {
|
||||
this.audiences = rs.result;
|
||||
sessionStorage.setItem(localKey, this.audiences);
|
||||
} else {
|
||||
console.log(rs.message);
|
||||
}
|
||||
})
|
||||
},
|
||||
// 受众需要每次刷新
|
||||
// created() {
|
||||
// let localKey = "user_" + this.userInfo.sysId + "_gids";
|
||||
// apiUserbasic.getInAudienceIds().then(rs => {
|
||||
// if (rs.status == 200) {
|
||||
// this.audiences = rs.result;
|
||||
// sessionStorage.setItem(localKey, this.audiences);
|
||||
// } else {
|
||||
// console.log(rs.message);
|
||||
// }
|
||||
// })
|
||||
// },
|
||||
mounted() {
|
||||
let screenWidth = window.screen.availWidth;
|
||||
// if (screenWidth < 1280) {
|
||||
|
||||
Reference in New Issue
Block a user