nacos分组配置问题

This commit is contained in:
zer0Black
2022-02-28 09:31:44 +08:00
parent 261538ea2a
commit 30ce69799d
2 changed files with 10 additions and 10 deletions
@@ -23,8 +23,8 @@ spring:
prefix: @prefix.name@
# 支持多个共享 Data Id 的配置,优先级小于extension-configs,自定义 Data Id 配置 属性是个集合,内部由 Config POJO 组成。Config 有 3 个属性,分别是 dataId, group 以及 refresh
#shared-configs[0]:
#data-id: ${prefix.name}-common.yaml # 配置文件名-Data Id
#group: ${config.group} # 默认为DEFAULT_GROUP
#data-id: @prefix.name@-common.yaml # 配置文件名-Data Id
#group: @config.group@ # 默认为DEFAULT_GROUP
#refresh: false # 是否动态刷新,默认为false
discovery:
namespace: @config.namespace@
@@ -70,7 +70,7 @@
</div>
<!-- table区域-end -->
<!-- 表单区域 -->
<sys-depart-role-modal ref="modalForm" @ok="modalFormOk"/>
<sys-depart-role-modal ref="sysDepartRoleModalForm" @ok="modalFormOk"/>
<dept-role-auth-modal ref="modalDeptRole" />
</a-card>
</template>
@@ -165,18 +165,18 @@
return true;
},
handleEdit: function (record) {
this.$refs.modalForm.title = "编辑";
this.$refs.modalForm.departDisabled = true;
this.$refs.modalForm.disableSubmit = false;
this.$refs.modalForm.edit(record,record.departId);
this.$refs.sysDepartRoleModalForm.title = "编辑";
this.$refs.sysDepartRoleModalForm.departDisabled = true;
this.$refs.sysDepartRoleModalForm.disableSubmit = false;
this.$refs.sysDepartRoleModalForm.edit(record,record.departId);
},
handleAdd: function () {
if (this.currentDeptId == '') {
this.$message.error("请选择一个部门!")
} else {
this.$refs.modalForm.departDisabled = true;
this.$refs.modalForm.add(this.currentDeptId);
this.$refs.modalForm.title = "新增";
this.$refs.sysDepartRoleModalForm.departDisabled = true;
this.$refs.sysDepartRoleModalForm.add(this.currentDeptId);
this.$refs.sysDepartRoleModalForm.title = "新增";
}
},
handlePerssion: function(record){