Ver Fonte

【新项目】【看板项目】【登录失败提示语位置调整】

luhg há 8 anos atrás
pai
commit
aa0041da3b

+ 6 - 8
kanban-console/src/main/webapp/resources/app/view/login/Login.js

@@ -54,15 +54,13 @@ Ext.define('erp.view.login.Login',{
 							}
 						}
 					}
-				}],
-				tbar:{
+				},{
+					xtype:'tbtext',
 					id:'errortip',
-					hidden:true,
-					items:[{
-						xtype:'tbtext',
-						text:'<span><font color="red">*用户名或密码错误</font></span>',
-					}]
-				},
+					text:'<span><font color="red">*用户名或密码错误</font></span>',
+					cls:'tbtext',
+					hidden:true
+				}],
 				buttons:[{
 					id:'loginBtn',
 					text:'登录'