chore: 将drawio集成到jmalcloud镜像中

This commit is contained in:
jmal 2024-05-30 15:32:20 +08:00
parent 1c8e77ad19
commit ad4791de21

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(`../draw${query}`)
},
mounted() {
window.addEventListener('message', this.handleMessage)