Michael Wang пре 3 година
родитељ
комит
f19f4eb3ed
3 измењених фајлова са 4 додато и 3 уклоњено
  1. 1 1
      .eslintrc.js
  2. 1 1
      src/features/mark/MarkBoardTrackDialog.vue
  3. 2 1
      src/store/store.ts

+ 1 - 1
.eslintrc.js

@@ -67,7 +67,7 @@ module.exports = {
           // Script parser for vue directives (e.g. `v-if=` or `:attribute=`)
           // and vue interpolations (e.g. `{{variable}}`).
           // If not specified, the parser determined by `<script lang ="...">` is used.
-          "<template>": "espree",
+          "<template>": "@typescript-eslint/parser",
         },
         project: ["tsconfig.json"],
       },

+ 1 - 1
src/features/mark/MarkBoardTrackDialog.vue

@@ -4,7 +4,7 @@
     title="给分板"
     top="10%"
     width="300px"
-    fixed-width
+    fixedWidth
     height="400px"
     @close="close"
   >

+ 2 - 1
src/store/store.ts

@@ -53,7 +53,8 @@ export const useMarkStore = defineStore("mark", {
       removeScoreTracks: [],
       focusTracks: [],
       maxModalZIndex: 1020,
-      minimapScrollTo: 0,
+      minimapScrollToX: 0,
+      minimapScrollToY: 0,
       allPaperModal: false,
       sheetViewModal: false,
       globalMask: false,