提交 3b4422da 编写于 作者: fxy060608's avatar fxy060608

dynamic add popup

上级 68e3ff90
......@@ -42,7 +42,7 @@ const DEPS = {
['/platforms/h5/components/app/popup/mixins/modal.js', 'ModalMixin']
],
'showActionSheet': [
['/platforms/h5/components/app/popup/actionSheet.vue', 'Modal'],
['/platforms/h5/components/app/popup/actionSheet.vue', 'ActionSheet'],
['/platforms/h5/components/app/popup/mixins/action-sheet.js', 'ActionSheetMixin']
],
'createSelectorQuery': [
......
......@@ -496,7 +496,7 @@
],
[
"/platforms/h5/components/app/popup/actionSheet.vue",
"Modal"
"ActionSheet"
],
[
"/platforms/h5/components/app/popup/mixins/action-sheet.js",
......
......@@ -10,15 +10,19 @@
v-if="hasTabBar"
v-show="showTabBar"
v-bind="tabBar" />
<toast
<toast
v-if="$options.components.Toast"
v-bind="showToast"/>
<action-sheet
<action-sheet
v-if="$options.components.ActionSheet"
v-bind="showActionSheet"
@close="_onActionSheetClose" />
<modal
<modal
v-if="$options.components.Modal"
v-bind="showModal"
@close="_onModalClose" />
<picker
<picker
v-if="$options.components.Picker"
v-bind="showPicker"
@close="_onPickerClose" />
</uni-app>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册