浏览代码

feat: test

gemercheung 1 年之前
父节点
当前提交
4033300ac1

+ 1 - 1
packages/qjkankan-editor/src/views/mask/setting.vue

@@ -253,7 +253,7 @@ export default {
             ok: () => {
               this.$store.dispatch("scene/applycustomMaskToAll", "earth");
               this.$msg.success(this.$i18n.t("gather.edit_success"));
-              setTimeout(() => (this.isApplySkyToAll = false), 1000);
+              setTimeout(() => (this.isApplyEarthToAll = false), 1000);
             },
             no: () => {
               this.isApplyEarthToAll = false;

+ 1 - 1
packages/qjkankan-editor/src/views/screen/Setting.vue

@@ -157,7 +157,7 @@ export default {
               });
               this.updateCurrentScene();
               this.$msg.success(this.$i18n.t("gather.edit_success"));
-              setTimeout(() => (this.isApplySkyToAll = false), 1000);
+              setTimeout(() => (this.applyToAll = false), 1000);
             },
             no: () => {
               this.applyToAll = false;