<template>
<div + val;
}
},
computed: {
total() {
return this.gongData.total;
},
...mapState(['is_submit'])
},
watch: {
/**
* 如果全局的state.is_submit提交成功,则自动请求页面
* @param newVal
* @param oldVue
* @returns {Promise<void>}
*/
async is_submit(newVal, oldVue) {
console.log(newVal);
console.log(oldVue);
if (newVal > oldVue) {
this.loading = true;
let data = await getGongdan();
this.gongData = data;
if (this.gongData) {
this.loading = false;
}
}
}
}
}

</script>

<style scoped>
#monitor {
}

.jc-container-table-actionBar {
transition: all .3s linear;
}

.jc-badge {
margin-top: -7px !important;
}

</style>


相关文章:

  • 2022-12-23
  • 2021-12-26
  • 2021-05-27
  • 2022-12-23
  • 2022-12-23
  • 2021-09-24
  • 2021-05-25
  • 2021-06-01
猜你喜欢
  • 2022-01-20
  • 2022-12-23
  • 2022-12-23
  • 2021-11-13
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案