重置vxe会导致新增表单无限增加用户名和密码
							parent
							
								
									7c4025954a
								
							
						
					
					
						commit
						615ae3d651
					
				| 
						 | 
				
			
			@ -128,7 +128,11 @@ const handleCreate = async () => {
 | 
			
		|||
  setDialogTile('create')
 | 
			
		||||
  await nextTick()
 | 
			
		||||
  console.log(allSchemas.formSchema, 'allSchemas.formSchema')
 | 
			
		||||
  if (allSchemas.formSchema[4].field !== 'username') {
 | 
			
		||||
  let haveUser = allSchemas.formSchema.filter((res) => {
 | 
			
		||||
    return res.field == 'username'
 | 
			
		||||
  })
 | 
			
		||||
  if (haveUser.length == 0) {
 | 
			
		||||
    // if (allSchemas.formSchema[4].field !== 'username') {
 | 
			
		||||
    unref(formRef)?.addSchema(
 | 
			
		||||
      {
 | 
			
		||||
        field: 'username',
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue