mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
ui: 上传进度条
This commit is contained in:
1 parent
0d1809c08e
commit
f33d440b68
4 files changed
+56
-54
No files matched your search
@@ -2,7 +2,7 @@ import tpl from 'vj/utils/tpl';
|
||||
import i18n from 'vj/utils/i18n';
|
||||
import DomDialog from './DomDialog';
|
||||
|
||||
export default class Dialog {
|
||||
export class Dialog {
|
||||
constructor(options = {}) {
|
||||
this.options = {
|
||||
classes: '',
|
||||
@@ -52,6 +52,8 @@ export default class Dialog {
|
||||
}
|
||||
}
|
||||
|
||||
export default Dialog;
|
||||
|
||||
const buttonOk = tpl`<button class="primary rounded button" data-action="ok">${i18n('Ok')}</button>`;
|
||||
const buttonCancel = tpl`<button class="rounded button" data-action="cancel">${i18n('Cancel')}</button>`;
|
||||
const buttonYes = tpl`<button class="primary rounded button" data-action="yes">${i18n('Yes')}</button>`;
|
||||
|
||||
Reference in new issue
Block a user