讲师认证

This commit is contained in:
zhangsir
2024-05-11 21:52:29 +08:00
parent 9edcbb0a7a
commit f58ae089f2
27 changed files with 4501 additions and 3 deletions

14
src/utils/qrCode2.js Normal file
View File

@@ -0,0 +1,14 @@
import { createApp } from 'vue'
import QrCode from "../views/gratefulteacher/QrCode.vue";
import Antd from "ant-design-vue";
function mountContent (option = {}) {
const dom = document.createElement('div')
document.body.appendChild(dom)
const app = createApp(QrCode, {
close: () => { app.unmount(dom); document.body.removeChild(dom) },
...option
})
app.use(Antd).mount(dom)
}
export default mountContent