File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 1
1
const Config = {
2
- baseUrl : 'http://dev.lin.colorful3.com/' ,
2
+ baseUrl : process . env . VUE_APP_BASE_URL ,
3
3
stagnateTime : 1 * 60 * 60 * 1000 , // 无操作停滞时间 默认1小时
4
4
openAutoJumpOut : true , // 是否开启无操作跳出
5
5
notLoginRoute : [ 'login' ] , // 无需登录即可访问的路由 name,
Original file line number Diff line number Diff line change 27
27
>
28
28
<el-input size =" medium" clearable type =" password" v-model =" form.confirm_password" autocomplete =" off" ></el-input >
29
29
</el-form-item >
30
- <el-form-item v-if =" pageType !== 'password'" label =" 选择分组" >
31
- <el-select size =" medium" filterable v-model =" form.group_id" placeholder =" 请选择分组" >
30
+ <el-form-item v-if =" pageType !== 'password'" label =" 选择分组" >
31
+ <el-select size =" medium" filterable v-model =" form.group_id" :disabled = " groups.length === 0 " placeholder =" 请选择分组" >
32
32
<el-option
33
33
v-for =" item in groups"
34
34
:key =" item.id"
@@ -122,7 +122,7 @@ export default {
122
122
password: ' ' ,
123
123
confirm_password: ' ' ,
124
124
email: ' ' ,
125
- group_id: 0 ,
125
+ group_id: ' 请先创建分组 ' ,
126
126
},
127
127
// 验证规则
128
128
rules: {
You can’t perform that action at this time.
0 commit comments