hejianhao
2025-04-16 dab2d210ca06c1faa514c6388fbd5de1ab355360
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
<template>
  <v-a
    type="1"
    :item="item"
  ></v-a>
</template>
 
<script>
import vA from "./_w";
export default {
  props: {},
  components: { vA },
  data() {
    return {
      item: {},
    };
  },
  inject: ["appBack"],
  watch: {},
  methods: {},
  mounted() {
    let a = demo.$session.get("grid-list") || {};
    if (+a.id === +this.$route.params.id) {
      this.item = a.data;
    } else {
      demo.toast("数据已损坏");
      demo.$session.clear("grid-list");
      this.appBack(1);
    }
  },
};
</script>
<style lang='less' scoped>
</style>