Commit b6f32a0d authored by liang's avatar liang

bug修复

parent dbc0eabb
......@@ -182,7 +182,7 @@ export default {
inject: {
tabFollowId: {
type: String,
default: "",
default: () => {},
},
},
data() {
......@@ -197,7 +197,9 @@ export default {
},
computed: {
getTabFollowId() {
return this.tabFollowId()
if (this.tabFollowId) {
return this.tabFollowId()
}
},
survivalFlag() {
if (this.activeName == "index0" && this.formClass) {
......@@ -397,7 +399,7 @@ export default {
path: "/followupquery",
query: {
patientId: this.patientId,
followId: this.followId || this.tabFollowId,
followId: this.followId || this.getTabFollowId,
followBatch: 1,
},
})
......
......@@ -163,7 +163,9 @@ export default {
.length
},
getTabFollowId() {
return this.tabFollowId()
if (this.tabFollowId) {
return this.tabFollowId()
}
},
// sideWidth() {
// return this.asideShow ? "200px" : "0px"
......
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