Skip to content

Commit ef90fa3

Browse files
committed
feat: Dialog and ActionSheet imports update
1 parent 446688f commit ef90fa3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/plugins/action-sheet.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@ export default {
77
if (this.__installed) { return }
88
this.__installed = true
99

10-
$q.actionSheet = modalFn(QActionSheet, Vue)
10+
this.create = $q.actionSheet = modalFn(QActionSheet, Vue)
1111
}
1212
}

src/plugins/dialog.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ export default {
88
if (this.__installed) { return }
99
this.__installed = true
1010

11-
$q.dialog = isSSR
11+
this.create = $q.dialog = isSSR
1212
? () => new Promise()
1313
: modalFn(QDialog, Vue)
1414
}

0 commit comments

Comments
 (0)