Browse Source

banner替换

zengyicheng 2 years ago
parent
commit
6562503dec
1 changed files with 5 additions and 1 deletions
  1. 5 1
      src/components/index.vue

+ 5 - 1
src/components/index.vue

@@ -416,8 +416,12 @@ export default {
     },
     //获取banner
     getBanner() {
+      var a = false;
+      if(this.org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f018d"){
+        a = true;
+      }
       let params = {
-        oid: this.oid,
+        oid: a == false ? this.oid : this.org ,
       };
       this.ajax
         .get(this.$store.state.api + "selectBannerByOid", params)