Skip to content

Commit b3b8947

Browse files
committed
fix: 修复 useFaModal 弹窗警告
1 parent ea929ac commit b3b8947

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/ui/components/FaModal/index.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ export function useFaModal() {
6969
onClosed: () => {
7070
app.unmount()
7171
},
72-
}, options), options.content)
72+
}, options), () => options.content)
7373
},
7474
})
7575
app.mount(container)
@@ -90,7 +90,7 @@ export function useFaModal() {
9090
onClosed: () => {
9191
app.unmount()
9292
},
93-
}, options), options.content)
93+
}, options), () => options.content)
9494
},
9595
})
9696
app.mount(container)
@@ -111,7 +111,7 @@ export function useFaModal() {
111111
onClosed: () => {
112112
app.unmount()
113113
},
114-
}, options), options.content)
114+
}, options), () => options.content)
115115
},
116116
})
117117
app.mount(container)
@@ -132,7 +132,7 @@ export function useFaModal() {
132132
onClosed: () => {
133133
app.unmount()
134134
},
135-
}, options), options.content)
135+
}, options), () => options.content)
136136
},
137137
})
138138
app.mount(container)
@@ -153,7 +153,7 @@ export function useFaModal() {
153153
onClosed: () => {
154154
app.unmount()
155155
},
156-
}, options), options.content)
156+
}, options), () => options.content)
157157
},
158158
})
159159
app.mount(container)

0 commit comments

Comments
 (0)