Browse Source

init

newStyle
lancer 3 years ago
parent
commit
158a87b14a
1 changed files with 12 additions and 0 deletions
  1. +12
    -0
      src/views/Receive/index.vue

+ 12
- 0
src/views/Receive/index.vue View File

@@ -623,6 +623,7 @@
<script> <script>
import "aplayer/dist/APlayer.min.css"; import "aplayer/dist/APlayer.min.css";
import APlayer from "aplayer"; import APlayer from "aplayer";
import { mapGetters } from "vuex";
import { getStore, setStore } from "@/util/store"; import { getStore, setStore } from "@/util/store";
export default { export default {
data() { data() {
@@ -687,6 +688,14 @@ export default {
info:{}, info:{},
yibiaoji:'' yibiaoji:''
}; };
},
created() {
this.rec_index_flag = this.permissions["rec_index_flag"];
this.rec_index_addJ = this.permissions["rec_index_addJ"];
this.rec_index_wrongword = this.permissions["rec_index_wrongword"];
this.rec_index_makesure = this.permissions["rec_index_makesure"];
this.rec_index_todo = this.permissions["rec_index_todo"];
this.rec_index_receflag = this.permissions["rec_index_receflag"];
}, },
mounted() { mounted() {
this.fileId=this.$route.query.flag; this.fileId=this.$route.query.flag;
@@ -694,6 +703,9 @@ export default {
this.info = getStore({ name: "userInfo" }); this.info = getStore({ name: "userInfo" });
this.init() this.init()
}, },
computed: {
...mapGetters(["permissions"]),
},
destroyed(){ destroyed(){
this.aplayer.destroy() this.aplayer.destroy()
}, },


Loading…
Cancel
Save