Przeglądaj źródła

Merge branch 'v1.2.0-ga' of http://192.168.0.115:3000/bill/fuse-code into v1.2.0-ga

xzw 4 miesięcy temu
rodzic
commit
347173c8c1

+ 1 - 1
src/sdk/association/animation.ts

@@ -316,6 +316,7 @@ export const addSubtitle = (data: AnimationModelSubtitle) => {
         const mountEl = document.querySelector("#app")!;
         const layer = document.createElement("div");
         layer.className = "subtitle";
+        mountEl.appendChild(layer);
         const cleanups = [
           watchEffect(() => {
             layer.innerHTML = data.content;
@@ -336,7 +337,6 @@ export const addSubtitle = (data: AnimationModelSubtitle) => {
           }),
           () => mountEl.removeChild(layer),
         ];
-        mountEl.appendChild(layer);
         map.subtitles[data.id] = mergeFuns(cleanups);
       } else if (!exists && map.subtitles[data.id]) {
         map.subtitles[data.id]();

+ 1 - 1
src/views/animation/right/action.vue

@@ -17,7 +17,7 @@
         </ui-group-option>
         <ui-group-option>
           <SignItem label="幅度" not-apply>
-            <Slider v-model:value="data.amplitude" :min="0.5" :max="60" :step="0.1" />
+            <Slider v-model:value="data.amplitude" :min="0" :max="1" :step="0.1" />
           </SignItem>
         </ui-group-option>
         <ui-group-option>