Explorar o código

修复propertyGruopId的key值

lideyin %!s(int64=5) %!d(string=hai) anos
pai
achega
1eb8cdbd2f
Modificáronse 1 ficheiros con 3 adicións e 3 borrados
  1. 3 3
      src/modules/basic/view/clientConfig.vue

+ 3 - 3
src/modules/basic/view/clientConfig.vue

@@ -114,7 +114,7 @@ export default {
     return {
       rootOrgId: null,
       loginTypes: LOGIN_TYPE,
-      propertyGroupId: "studentClientConfig",
+      propertyGroupId: "",
       preventCheatingConfigs: PREVENT_CHEATING_CONFIG,
       ruleForm: {
         relatedPropertyGroupIdList: [],
@@ -207,7 +207,7 @@ export default {
     initForm() {
       this.ruleForm.orgId = this.user.rootOrgId;
       this.ruleForm.STUDENT_CLIENT_DEFAULT_SIZE = "1400*900";
-      this.ruleForm.relatedPropertyGroupIdList = [this.propertyGroupId];
+      this.ruleForm.relatedPropertyGroupIdList = ["studentClientConfig"];
       var url =
         CORE_API +
         "/org/getOrgPropertiesByGroupWithoutCache/" +
@@ -379,7 +379,7 @@ export default {
   },
   created() {
     this.rootOrgId = this.user.rootOrgId;
-    this.propertyGroupId = "studentClientConfig";
+    this.propertyGroupId = "studentClientConfig4Edit";
     this.uploadAction = CORE_API + "/org/importLogo/" + this.rootOrgId;
     this.uploadHeaders = {
       key: this.user.key,