Skip to content

Commit

Permalink
🐛 修复编辑页菜单栏样式错误
Browse files Browse the repository at this point in the history
  • Loading branch information
CodFrm committed Jan 8, 2022
1 parent 5bdcbf9 commit 42b9a91
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/views/pages/Option/tabs/ScriptTab/Editor.vue
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@
}"
style="width: 300px"
>
n>{{ item.action }} </span>
<span v-f"tmky"{ tem.keys }}</span>
<span>{{ item.action }} </span>
<span v-if="item.keys">{{ item.keys }}</span>
</v-list-item-title>
</div>
</v-list-item>
Expand All @@ -64,7 +64,7 @@

<script lang="ts">
import { Component, Prop, Vue, Watch } from 'vue-property-decorator';
import { KeyMod, KeyCode, languages } from 'monaco-editor';
import { KeyMod, KeyCode } from 'monaco-editor';
import { Script, SCRIPT_TYPE_NORMAL } from '@App/model/do/script';
import { mdiContentSave, mdiFileImport, mdiFileExport, mdiBug } from '@mdi/js';
import ResizableEditor from '@Components/ResizableEditor.vue';
Expand Down Expand Up @@ -122,7 +122,7 @@ export default class CloseButton extends Vue {
var file = fileInput!.files![0];
var reader = new FileReader();
let _this = this;
reader.onload = function() {
reader.onload = function () {
_this.editor.setValue(<string>this.result);
};
reader.readAsText(file, 'utf-8');
Expand Down

0 comments on commit 42b9a91

Please sign in to comment.