浏览代码

修改bug

bill 1 年之前
父节点
当前提交
7a80652bec
共有 7 个文件被更改,包括 14 次插入12 次删除
  1. 1 1
      package.json
  2. 4 4
      pnpm-lock.yaml
  3. 1 1
      src/components/tagging/sign.vue
  4. 1 1
      src/store/sys.ts
  5. 1 1
      src/views/guide/edit-paths.vue
  6. 5 3
      src/views/guide/sign.vue
  7. 1 1
      src/views/tagging/images.vue

+ 1 - 1
package.json

@@ -9,7 +9,7 @@
     "preview": "vite preview"
   },
   "dependencies": {
-    "@simaq/core": "1.1.7",
+    "@simaq/core": "1.1.8",
     "ant-design-vue": "^3.3.0-beta.3",
     "axios": "^0.27.2",
     "less": "^4.1.3",

+ 4 - 4
pnpm-lock.yaml

@@ -1,7 +1,7 @@
 lockfileVersion: 5.4
 
 specifiers:
-  '@simaq/core': 1.1.7
+  '@simaq/core': 1.1.8
   '@types/node': ^18.6.5
   '@vitejs/plugin-vue': ^3.0.0
   ant-design-vue: ^3.3.0-beta.3
@@ -19,7 +19,7 @@ specifiers:
   vuedraggable: ^4.1.0
 
 dependencies:
-  '@simaq/core': 1.1.7
+  '@simaq/core': 1.1.8
   ant-design-vue: 3.3.0-beta.3_vue@3.2.37
   axios: 0.27.2
   less: 4.1.3
@@ -219,8 +219,8 @@ packages:
       '@octokit/openapi-types': 14.0.0
     dev: false
 
-  /@simaq/core/1.1.7:
-    resolution: {integrity: sha512-6a9nHGsa80G7rR5XXuLRtugWS4TVTFkSfoQKJYN3THu80eKGtIJNn497oQduobLBau8vUreY3tyitSO+yFiBaQ==}
+  /@simaq/core/1.1.8:
+    resolution: {integrity: sha512-qssn0QE/qGiRpRfAOCcMracI2Y3huDOEUzoVdHUuHhHC8nK0DCk+dzyf3V8GeK7iNSHWXrRS4uuEd7mCvcNf4A==}
     dependencies:
       eventemitter3: 4.0.7
       rxjs: 7.5.7

+ 1 - 1
src/components/tagging/sign.vue

@@ -102,7 +102,7 @@ const showContent = computed(() => {
     && (isHover.value || custom.showTaggingPositions.has(props.scenePos))
 })
 
-const taggingStyle = getTaggingStyle(props.tagging.styleId)
+const taggingStyle = computed(() => getTaggingStyle(props.tagging.styleId)) 
 
 const pullIndex = ref(-1)
 const isHover = ref(false)

+ 1 - 1
src/store/sys.ts

@@ -22,7 +22,7 @@ export const isNow = computed(() => !!(mode.value & Flags.NOW))
 export const appEl = ref<HTMLDivElement | null>(null)
 export const prefix = ref('')
 
-export const defTitle = ref('多元融合')
+export const defTitle = ref('案件信息')
 export const title = computed(() => {
   const last = currentMeta.value && 'sysTitle' in currentMeta.value
     ? currentMeta.value.sysTitle

+ 1 - 1
src/views/guide/edit-paths.vue

@@ -130,7 +130,7 @@ useAutoSetMode(paths, {
       guides.value.push(props.data)
     }
   },
-}, false)
+},)
 
 const addPath = () => {
   loadPack(async () => {

+ 5 - 3
src/views/guide/sign.vue

@@ -59,11 +59,13 @@ const actions = {
       // autoDownload: false,
       // systemAudio: true,
       // debug: true,
-      resolution: '4k',
+      resolution: '1080p',
       autoDownload: false,
-      platform: 'web',
+      platform: 'canvas',
+      
       config: {
-        frameRate: 60
+        frameRate: 60,
+        canvasId: ".scene-canvas > canvas",
       },
       disbaledAudio: false,
       systemAudio: false,

+ 1 - 1
src/views/tagging/images.vue

@@ -88,7 +88,7 @@ const index = ref(0)
   }
   video,
   img {
-    object-fit: cover;
+    object-fit: contain;
   }
   iframe{
     border: none;