mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-14 21:35:19 +00:00
refac
This commit is contained in:
parent
a7f543d737
commit
8a3c9b9a3e
1 changed files with 0 additions and 2 deletions
|
|
@ -72,8 +72,6 @@
|
||||||
}}
|
}}
|
||||||
on:code={(e) => {
|
on:code={(e) => {
|
||||||
const { lang, code } = e.detail;
|
const { lang, code } = e.detail;
|
||||||
console.log('lang', lang);
|
|
||||||
console.log('code', code);
|
|
||||||
|
|
||||||
if (
|
if (
|
||||||
(['html', 'svg'].includes(lang) || (lang === 'xml' && code.includes('svg'))) &&
|
(['html', 'svg'].includes(lang) || (lang === 'xml' && code.includes('svg'))) &&
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue