shuishen
2022-03-31 cb3af5a6ea4b35596e3d51ce55a39f8d6173e5d6
示例
1 files modified
30 ■■■■ changed files
src/components/mobilePanorama/index.vue 30 ●●●● patch | view | raw | blame | history
src/components/mobilePanorama/index.vue
@@ -1,23 +1,25 @@
/*
 * @Author: Morpheus
 * @Date: 2022-03-31 15:26:19
 * @Last Modified by: Morpheus
 * @Last Modified time: 2022-03-31 15:32:22
 * @Name: 该组件得作用是什么等
 */
<template>
  <div v-if="openmobilePanorama" class="mobilePanorama">
    <div class="mobilePanorama-close" @click="closeMobilePanorama">
      <i class="el-icon-error icon"></i>
    </div>
    <iframe
      :src="openmobilePanorama"
      width="100%"
      height="100%"
      frameborder="0"
    ></iframe>
        <iframe :src="openmobilePanorama" width="100%" height="100%" frameborder="0"></iframe>
  </div>
</template>
<script>
import { mapGetters } from "vuex";
import { mapGetters } from 'vuex'
export default {
  name: "mobilePanorama",
    name: 'mobilePanorama',
  computed: {
    ...mapGetters(["openmobilePanorama"]),
        ...mapGetters(['openmobilePanorama'])
  },
  // watch: {
  //   openmobilePanorama() {
@@ -28,14 +30,14 @@
  //   },
  // },
  data() {
    return {};
        return {}
  },
  methods: {
    closeMobilePanorama() {
      this.$store.commit("MSET_OPENMOBILEPANORAMA", false);
    },
  },
};
            this.$store.commit('MSET_OPENMOBILEPANORAMA', false)
        }
    }
}
</script>
<style lang="scss" scoped>