mirror of
https://github.com/clash-verge-rev/clash-verge-rev.git
synced 2026-11-14 14:52:08 +08:00
fix: monaco editor line count limit
This commit is contained in:
@@ -617,7 +617,8 @@ export const SysproxyViewer = forwardRef<DialogRef>((props, ref) => {
|
||||
<EditorViewer
|
||||
open={true}
|
||||
title={t("settings.modals.sysproxy.actions.editPac")}
|
||||
initialData={Promise.resolve(value.pac_content ?? "")}
|
||||
initialData={() => Promise.resolve(value.pac_content ?? "")}
|
||||
dataKey="sysproxy-pac"
|
||||
language="javascript"
|
||||
onSave={(_prev, curr) => {
|
||||
let pac = DEFAULT_PAC;
|
||||
|
||||
Reference in New Issue
Block a user