20240205
luoJunYong.123 3 years ago
parent 04a5583fca
commit e603a50d97
  1. 2
      src/App.vue
  2. 4
      src/pages/counter/list/index.vue
  3. 2
      src/pages/manage/list/client/consumerClient.vue

@ -27,8 +27,6 @@
window.addEventListener("beforeunload",()=>{ window.addEventListener("beforeunload",()=>{
util.local.get(Setting.tokenKey) && util.local.set(Setting.storeKey,this.$store.state) util.local.get(Setting.tokenKey) && util.local.set(Setting.storeKey,this.$store.state)
sessionStorage.setItem('systemData', this.$store.system.state) sessionStorage.setItem('systemData', this.$store.system.state)
console.log('????/')
console.log(sessionStorage.getItem('systemData'))
}) })
} }
} }

@ -1057,11 +1057,11 @@ export default {
} }
if(sessionStorage.getItem('businessSelect')) { if(sessionStorage.getItem('businessSelect')) {
// //
// this.$store.commit('system/setBusinessSelect', JSON.parse(sessionStorage.getItem('businessSelect'))) this.$store.commit('system/setBusinessSelect', JSON.parse(sessionStorage.getItem('businessSelect')))
} }
window.addEventListener("beforeunload",()=>{ window.addEventListener("beforeunload",()=>{
sessionStorage.setItem('businessKey', this.$store.state.system.businessKey) sessionStorage.setItem('businessKey', this.$store.state.system.businessKey)
// sessionStorage.setItem('businessSelect', JSON.stringify(this.$store.state.system.businessSelect)) sessionStorage.setItem('businessSelect', JSON.stringify(this.$store.state.system.businessSelect))
}) })
this.startPlay() this.startPlay()
console.log('startPlay') console.log('startPlay')

@ -70,7 +70,7 @@
</el-form> </el-form>
</el-row> </el-row>
<el-button @click="submitForm" type="primary" class="submitBtn">提交</el-button> <el-button @click="submitForm" type="primary" class="submitBtn" v-throttle>提交</el-button>
</div> </div>
<my-dialog v-if="visible" :visible.sync="visible" :showForm="form" :formName="formName" @submitIt="submitForm2()" /> <my-dialog v-if="visible" :visible.sync="visible" :showForm="form" :formName="formName" @submitIt="submitForm2()" />

Loading…
Cancel
Save