Skip to content

Commit a8eb6ee

Browse files
committed
fix: revise problem sheet #3450
1 parent 3e3786d commit a8eb6ee

File tree

1 file changed

+2
-2
lines changed
  • packages/vue/src/modal/src

1 file changed

+2
-2
lines changed

packages/vue/src/modal/src/pc.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ export default defineComponent({
252252
class: 'tiny-modal__content'
253253
},
254254
defaultSlot
255-
? defaultSlot.call(this, { $modal: this }, h)
255+
? [defaultSlot.call(this, { $modal: this }, h)]
256256
: [
257257
h(
258258
'div',
@@ -289,7 +289,7 @@ export default defineComponent({
289289
}
290290
},
291291
footerSlot
292-
? footerSlot.call(this, footerSlotParams, h)
292+
? [footerSlot.call(this, footerSlotParams, h)]
293293
: [
294294
type === 'confirm'
295295
? h(

0 commit comments

Comments
 (0)