mirror of
https://github.com/0xJacky/nginx-ui.git
synced 2025-05-12 02:45:49 +02:00
chore: update ace-builds integration and fix initialization errors
This commit is contained in:
parent
d487af0567
commit
c5ea44ca1e
7 changed files with 29 additions and 12 deletions
|
@ -23,7 +23,14 @@ const value = computed({
|
|||
},
|
||||
})
|
||||
|
||||
ace.config.setModuleUrl('ace/ext/searchbox', extSearchboxUrl)
|
||||
onMounted(() => {
|
||||
try {
|
||||
ace.config.setModuleUrl('ace/ext/searchbox', extSearchboxUrl)
|
||||
}
|
||||
catch (error) {
|
||||
console.error('Failed to initialize Ace editor:', error)
|
||||
}
|
||||
})
|
||||
</script>
|
||||
|
||||
<template>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue