fix: 修复应用升级文件对比显示问题 (#5352)

pull/5354/head
ssongliu 6 months ago committed by GitHub
parent c81f8c1bc4
commit e0f8cd96f8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -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…
Cancel
Save