Commit 7ffee2fc authored by 冷冷's avatar 冷冷

添加新特性。新增租户管理

parent d70123c3
......@@ -21,6 +21,8 @@ var validateUsername = (rule, value, callback) => {
let result = response.data.data
if (result !== null) {
callback(new Error('用户名已经存在'))
} else {
callback()
}
});
};
......@@ -129,4 +131,4 @@ export const tableOption = {
addVisdiplay: false,
span: 24,
}]
}
\ No newline at end of file
}
......@@ -7,7 +7,8 @@
选择租户<i class="el-icon-arrow-down el-icon--right"></i>
</span>
<el-dropdown-menu slot="dropdown">
<el-dropdown-item command="2">pigx</el-dropdown-item>
<el-dropdown-item command="1">租户1</el-dropdown-item>
<el-dropdown-item command="2">租户2</el-dropdown-item>
</el-dropdown-menu>
</el-dropdown>
</div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment