Commit 567bc658 authored by miaojiale's avatar miaojiale

修复bug

parent f5f731da
......@@ -161,7 +161,7 @@ export default {
},
},
created() {
this.getMessage()
// this.getMessage()
},
mounted() {
document
......
......@@ -188,9 +188,9 @@
<div class="title">驳回修改提醒</div>
<div class="refuteList">
<div
class="rufuteItem"
v-for="(item, index) in autoDialogList"
:key="index"
class="rufuteItem"
>
<div class="title">{{ item.title }}病例数据驳回修改</div>
<div class="num">【{{ item.num }}条】</div>
......@@ -321,10 +321,17 @@ export default {
}
},
},
watch: {
curSelectedIndex(v) {
this.getRefuteMessage()
},
},
created() {
this.selectedIndex = sessionStorage.getItem("selectedIndex") || ""
this.curSelectedIndex = String(this.selectedIndex) ? this.selectedIndex : ""
this.getRefuteMessage()
if (this.curSelectedIndex) {
this.getRefuteMessage()
}
},
mounted() {
if (!this.selectedIndex) {
......@@ -337,7 +344,9 @@ export default {
: ""
}
// console.log(this.curSelectedIndex)
this.getRefuteMessage()
if (this.curSelectedIndex) {
this.getRefuteMessage()
}
this.$nextTick(() => {
window.addEventListener(
"storage",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment