Browse Source

线上bug处理

hy 6 years ago
parent
commit
bacc36e416
2 changed files with 4 additions and 2 deletions
  1. 1 2
      app/view/form/basic/Panel.js
  2. 3 0
      app/view/form/mfilefield/Panel.js

+ 1 - 2
app/view/form/basic/Panel.js

@@ -3,7 +3,6 @@ Ext.define('uas.view.form.basic.Panel', {
     xtype: 'basic-form',
 
     bodyPadding: 12,
-    layout: 'form',
 
     items: [{
         xtype: 'textfield',
@@ -19,7 +18,7 @@ Ext.define('uas.view.form.basic.Panel', {
         name: 'password1',
         inputType: 'password',
         fieldLabel: 'Password field'
-    }, {
+    },{
         xtype: 'filefield',
         name: 'file1',
         fieldLabel: 'File upload'

+ 3 - 0
app/view/form/mfilefield/Panel.js

@@ -1,6 +1,9 @@
 Ext.define('uas.view.form.mfilefield.Panel', {
     extend: 'Ext.form.Panel',
     xtype: 'form-mfilefield',
+    requires:[
+        'Ext.ux.form.field.MFileField'
+    ],
 
     id: 'mmf',