diff --git a/src/views/modules/sys/role-add-or-update.vue b/src/views/modules/sys/role-add-or-update.vue index 43cc809..64aa8e5 100644 --- a/src/views/modules/sys/role-add-or-update.vue +++ b/src/views/modules/sys/role-add-or-update.vue @@ -274,7 +274,7 @@ export default { ...this.$refs.analysisMenuListTree.getHalfCheckedKeys() ] this.dataForm.whistleDeptIdList = this.$refs.whistleDeptListTree.getCheckedKeys() - this.$http[!this.dataForm.id ? 'post' : 'put']('/sys/role', this.dataForm).then(({ data: res }) => { + this.$http[!this.dataForm.id ? 'post' : 'put']('/sys/role/v2', this.dataForm).then(({ data: res }) => { if (res.code !== 0) { return this.$message.error(res.msg) }