<script>
let tempParamsPackge = { "sex-value": '', "ageLower": '', "ageUper": '', "transfer-value": '', "department-value": '', "beg-timestamp": '', "end-timestamp": '', "zd": '', "hbz": '', "assay": '', "other": '', "page": 1, "range": ''
} export defult{
data(){
tempParamsPackge,
},
beforeRouteUpdate(to, from, next) { this.tempParamsPackge.sex-value = to.query.sex-value;//这行报错左边表达式无效
}
}
</script>
添加回答
举报
0/150
提交
取消