mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2025-02-08 01:20:07 +08:00
fix: 修复应用升级文件对比显示问题 (#5352)
This commit is contained in:
parent
c81f8c1bc4
commit
e0f8cd96f8
@ -67,9 +67,6 @@ const confirm = (useEditor: boolean) => {
|
|||||||
};
|
};
|
||||||
|
|
||||||
const initEditor = () => {
|
const initEditor = () => {
|
||||||
if (editor) {
|
|
||||||
editor.dispose();
|
|
||||||
}
|
|
||||||
nextTick(() => {
|
nextTick(() => {
|
||||||
originalModel = monaco.editor.createModel(oldContent.value, 'yaml');
|
originalModel = monaco.editor.createModel(oldContent.value, 'yaml');
|
||||||
modifiedModel = monaco.editor.createModel(newContent.value, 'yaml');
|
modifiedModel = monaco.editor.createModel(newContent.value, 'yaml');
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
<SystemUpgrade />
|
<SystemUpgrade />
|
||||||
</h3>
|
</h3>
|
||||||
<div style="margin-top: 10px">
|
<div style="margin-top: 10px">
|
||||||
<el-link @click="toDoc">
|
<el-link @click="toDoc" class="system-link">
|
||||||
<el-icon><Document /></el-icon>
|
<el-icon><Document /></el-icon>
|
||||||
<span>{{ $t('setting.doc2') }}</span>
|
<span>{{ $t('setting.doc2') }}</span>
|
||||||
</el-link>
|
</el-link>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user