修改课程受众

This commit is contained in:
zhangsir
2023-11-16 14:15:03 +08:00
parent a87b9c1e5e
commit 74ca554804

View File

@@ -669,17 +669,17 @@ export default {
};
},
// 受众需要每次刷新
// 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) {