gemercheung před 1 rokem
rodič
revize
f9f7481aac

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

@@ -234,6 +234,8 @@ export default {
             content: this.$i18n.t("mask.is_apply_to_all_pano"),
             ok: () => {
               this.$store.dispatch("scene/applycustomMaskToAll", "sky");
+              this.$msg.success(this.$i18n.t("gather.edit_success"));
+              setTimeout(() => (this.isApplySkyToAll = false), 1000);
             },
             no: () => {
               this.isApplySkyToAll = false;
@@ -250,6 +252,8 @@ export default {
             content: this.$i18n.t("mask.is_apply_to_all_pano"),
             ok: () => {
               this.$store.dispatch("scene/applycustomMaskToAll", "earth");
+              this.$msg.success(this.$i18n.t("gather.edit_success"));
+              setTimeout(() => (this.isApplySkyToAll = false), 1000);
             },
             no: () => {
               this.isApplyEarthToAll = false;

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

@@ -32,7 +32,7 @@
           :height="6"
           :width="`95%`"
           :marks="marks"
-          direction="rtl"
+          direction="ltr"
           :processStyle="{
             backgroundColor: '#409eff',
           }"
@@ -154,6 +154,8 @@ export default {
                 hlookat,
               });
               this.updateCurrentScene();
+              this.$msg.success(this.$i18n.t("gather.edit_success"));
+              setTimeout(() => (this.isApplySkyToAll = false), 1000);
             },
             no: () => {
               this.applyToAll = false;