Commit c4d8d91c by xinla

智能短链优化

1 parent f9e32ebd
......@@ -125,14 +125,14 @@ export default {
this.$refs['queryForm'].resetFields()
this.getList(1)
},
goRoute(row = {}, detail) {
if (this.needMoreInfo) {
goRoute(row, detail = 'addEdit') {
if (row || this.needMoreInfo) {
this.dialogVisible = true
return
}
let { id } = row
let { id } = row || {}
this.$router.push({
path: './' + (detail || 'addEdit'),
path: './' + detail,
query: { id },
})
},
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!