File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
src/views/pages/Option/tabs/ScriptTab Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 4646 }"
4747 style =" width : 300px "
4848 >
49- n >{{ item.action }} </span >
50- <span v-f " tmky " { tem .keys }} </span >
49+ < span >{{ item.action }} </span >
50+ <span v-if = " item.keys " >{{ item .keys }}</span >
5151 </v-list-item-title >
5252 </div >
5353 </v-list-item >
6464
6565<script lang="ts">
6666import { Component , Prop , Vue , Watch } from ' vue-property-decorator' ;
67- import { KeyMod , KeyCode , languages } from ' monaco-editor' ;
67+ import { KeyMod , KeyCode } from ' monaco-editor' ;
6868import { Script , SCRIPT_TYPE_NORMAL } from ' @App/model/do/script' ;
6969import { mdiContentSave , mdiFileImport , mdiFileExport , mdiBug } from ' @mdi/js' ;
7070import ResizableEditor from ' @Components/ResizableEditor.vue' ;
@@ -122,7 +122,7 @@ export default class CloseButton extends Vue {
122122 var file = fileInput ! .files ! [0 ];
123123 var reader = new FileReader ();
124124 let _this = this ;
125- reader .onload = function () {
125+ reader .onload = function () {
126126 _this .editor .setValue (<string >this .result );
127127 };
128128 reader .readAsText (file , ' utf-8' );
You can’t perform that action at this time.
0 commit comments