6 changed files with 1962 additions and 1 deletions
@ -0,0 +1,6 @@ |
|||||
|
{ |
||||
|
"name": "cesium-map-object", |
||||
|
"lockfileVersion": 3, |
||||
|
"requires": true, |
||||
|
"packages": {} |
||||
|
} |
||||
|
After Width: | Height: | Size: 555 KiB |
File diff suppressed because it is too large
@ -0,0 +1,28 @@ |
|||||
|
<template> |
||||
|
<div> |
||||
|
<el-button @click="go()">跳转</el-button> |
||||
|
<el-button @click="goHome()">跳转</el-button> |
||||
|
</div> |
||||
|
</template> |
||||
|
|
||||
|
<script> |
||||
|
//登录后跳转的页面 |
||||
|
export default { |
||||
|
|
||||
|
data() { |
||||
|
return { |
||||
|
|
||||
|
} |
||||
|
}, |
||||
|
|
||||
|
methods: { |
||||
|
go(){ |
||||
|
this.$router.push({ path: this.redirect || "/childRoom" }).catch(()=>{}) |
||||
|
}, |
||||
|
// 返回首页 |
||||
|
goHome(){ |
||||
|
this.$router.push({ path: this.redirect || "/" }).catch(()=>{}) |
||||
|
} |
||||
|
} |
||||
|
} |
||||
|
</script> |
||||
Loading…
Reference in new issue