@@ -3,7 +3,7 @@
<!-- -->
<transition name="fade-transform" mode="out-in">
<div>
- <keep-alive>
+ <keep-alive >
<router-view :key="key" v-if="needKeep" />
</keep-alive>
<router-view v-if="!needKeep" :key="key" />
@@ -424,9 +424,10 @@ export default {
},
activated() {
// console.log('直接进编辑')
- if (this.teamid && this.teamid != this.$route.query.id||this.teamStatus !=this.$route.query.type) {
- this.init();
+ if (this.teamid && this.teamid != this.$route.query.id || this.teamStatus !=this.$route.query.type) {
+ this.init();
}
+
if (this.$route.query.clear == 'true') {
this.onReset();
@@ -451,6 +452,9 @@ export default {
this.basdisabled = false;
+ deactivated() {
+ this.teamStatus = 'dis'
+ },
methods: {
//|| this.teamStatus === 'teamAudit'
@@ -88,6 +88,7 @@ export default {
destroyed() {
this.showSecond=false
+ console.log('页面销毁')
@@ -105,7 +106,6 @@ export default {
this.pageName = "乐团修改";
this.activeIndex = this.$store.getters.draftIndex || 0
- console.log(this.activeIndex,this.$store.getters.buildIndex)
chiosetab (val) {
this.activeIndex = val;
@@ -71,7 +71,7 @@ import teamPayInfo from "@/views/teamBuild/components/teamPayInfo";
import merge from "webpack-merge";
export default {
components: { teamBaseInfo, teamSoundMoney, teamPayInfo },
- name: "teamBuild",
+ name: "teamDraft",
data () {
return {
activeIndex: 0,
@@ -98,6 +98,7 @@ export default {
permission (str) {
return permission(str)
@@ -703,6 +703,7 @@ export default {
case "DRAFT": {
// 编辑中
this.$store.dispatch("draftIndex", 0);
+ // teamBaseInfo
this.$router.push(
{
path: "/business/teamDraft",