mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2025-10-02 11:34:24 +08:00
fix: Fix the issue of abnormal highlighting in the cronjob script (#9246)
Some checks failed
SonarCloud Scan / SonarCloud (push) Failing after 4s
Some checks failed
SonarCloud Scan / SonarCloud (push) Failing after 4s
Refs #8683
This commit is contained in:
parent
326f2654e6
commit
bec7b6989f
1 changed files with 3 additions and 2 deletions
|
@ -452,10 +452,11 @@ import { storeToRefs } from 'pinia';
|
|||
import { GlobalStore } from '@/store';
|
||||
import LicenseImport from '@/components/license-import/index.vue';
|
||||
import { Codemirror } from 'vue-codemirror';
|
||||
import { javascript } from '@codemirror/lang-javascript';
|
||||
import { javascript } from '@codemirror/legacy-modes/mode/javascript';
|
||||
import { oneDark } from '@codemirror/theme-one-dark';
|
||||
import { StreamLanguage } from '@codemirror/language';
|
||||
|
||||
const extensions = [javascript(), oneDark];
|
||||
const extensions = [StreamLanguage.define(javascript), oneDark];
|
||||
|
||||
const router = useRouter();
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue