Browse Source

REPORT-93628 fix:修改下文件上传的组件样式

feature/x
旭旭 2 years ago
parent
commit
b44835ef90
  1. 2
      src/modules/components/file_chooser/file_chooser.ts
  2. 8
      src/modules/components/file_upload/file_upload.ts

2
src/modules/components/file_chooser/file_chooser.ts

@ -41,7 +41,7 @@ export class FileChooser extends BI.Widget {
items: [
{
type: BI.SignEditor.xtype,
cls: 'bi-border bi-focus-shadow',
cls: 'bi-border-bottom bi-focus-shadow',
width,
height: 22,
watermark,

8
src/modules/components/file_upload/file_upload.ts

@ -59,7 +59,7 @@ export class FileUpload extends BI.Widget {
items: [
{
type: BI.SignEditor.xtype,
cls: 'bi-border bi-focus-shadow',
cls: 'bi-border-bottom bi-focus-shadow',
width: 300,
height: 22,
watermark,
@ -144,9 +144,9 @@ export class FileUpload extends BI.Widget {
this.fileModified = _ref;
},
}]
}],
},
tgap: 14,
lgap: 4,
@ -155,7 +155,7 @@ export class FileUpload extends BI.Widget {
type: BI.IconButton.xtype,
cls: "default-delete-font",
handler: function () {
NProgress.set(0.0);
NProgress.set(0.0);
self.xhr.abort();
self.store.setFileName('');
self.clearInfo();

Loading…
Cancel
Save