更新核心lib包

pull/59/head
smallchill 7 years ago
parent 7f425f7aa0
commit 046da4ce75
  1. 6
      public/cdn/avue/2.0.0/avue.min.js
  2. 2
      src/lang/zh.js
  3. 8
      src/views/system/role.vue

File diff suppressed because one or more lines are too long

@ -65,7 +65,7 @@ export default {
},
login: {
title: '登录 ',
info: '企业级开发平台',
info: 'BladeX 企业级开发平台',
tenantCode: '请输入租户编号',
username: '请输入账号',
password: '请输入密码',

@ -37,7 +37,7 @@
</avue-crud>
<el-dialog title="提示"
:visible.sync="box"
width="40%">
width="20%">
<el-tree :data="list"
show-checkbox
node-key="id"
@ -214,7 +214,7 @@ export default {
methods: {
submit() {
const menuLIst = this.$refs.tree.getCheckedKeys().join(",");
grant(this.ids[0], menuLIst).then(() => {
grant(this.ids, menuLIst).then(() => {
this.box = false;
this.$message({
type: "success",
@ -272,14 +272,14 @@ export default {
},
handleRole() {
if (this.selectionList.length !== 1) {
this.$message.warning("请选择至少一条数据");
this.$message.warning("只能选择一条数据");
return;
}
this.defaultObj = [];
grantTree()
.then(res => {
this.list = res.data.data;
return getRole(this.ids[0]);
return getRole(this.ids);
})
.then(res => {
this.defaultObj = res.data.data;

Loading…
Cancel
Save