Commit c4d8d91c by xinla

智能短链优化

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