mirror of
				https://gitee.com/hhyykk/ipms-sjy-ui.git
				synced 2025-10-31 10:18:43 +08:00 
			
		
		
		
	系统管理/租户管理/租户列表新增时账号额度默认为1
用户管理不选择性别 修改时选择框为0
This commit is contained in:
		| @@ -143,7 +143,11 @@ const crudSchemas = reactive<VxeCrudSchema>({ | |||||||
|         } |         } | ||||||
|       }, |       }, | ||||||
|       form: { |       form: { | ||||||
|         component: 'InputNumber' |         component: 'InputNumber', | ||||||
|  |         value: null, | ||||||
|  |         componentProps: { | ||||||
|  |           min: 0 | ||||||
|  |         } | ||||||
|       } |       } | ||||||
|     }, |     }, | ||||||
|     { |     { | ||||||
|   | |||||||
| @@ -394,6 +394,7 @@ const handleUpdate = async (rowId: number) => { | |||||||
|   unref(formRef)?.delSchema('password') |   unref(formRef)?.delSchema('password') | ||||||
|   // 设置数据 |   // 设置数据 | ||||||
|   const res = await UserApi.getUserApi(rowId) |   const res = await UserApi.getUserApi(rowId) | ||||||
|  |   if (res.sex == 0) res.sex = null | ||||||
|   unref(formRef)?.setValues(res) |   unref(formRef)?.setValues(res) | ||||||
| } | } | ||||||
| const detailData = ref() | const detailData = ref() | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 gexinzhineng/gxzn27
					gexinzhineng/gxzn27