chore: 将drawio集成到jmalcloud_nginx镜像中

This commit is contained in:
jmal 2024-05-31 16:00:43 +08:00
parent 52e7535e15
commit 66e3c5c744

View File

@ -85,7 +85,7 @@ export default {
let theme = 'kennedy'
let title = this.file.name ? encodeURIComponent(this.file.name) : ''
let query = `?title=${title}&chrome=${chrome}&lightbox=${lightbox}&ui=${theme}&lang=${language}&offline=0&pwa=0&embed=1&noLangIcon=1&noExitBtn=1&noSaveBtn=1&saveAndExit=0&spin=1&proto=json`
this.url = $J.apiUrl(`..../drawio/webapp/?${query}`)
this.url = $J.apiUrl(`../drawio/webapp/${query}`)
},
mounted() {
window.addEventListener('message', this.handleMessage)