index.vue 460 B

12345678910111213141516171819202122232425262728
  1. <template>
  2. <div></div>
  3. </template>
  4. <script>
  5. export default {
  6. name: 'Redirect',
  7. components: {
  8. },
  9. data () {
  10. return {
  11. }
  12. },
  13. created () {
  14. if(this.$route.query.edit=='source'){
  15. this.$router.push(window.BS_CONFIG.routers?.SourceUrl||'/big-screen-source')
  16. }else{
  17. this.$router.push(window.BS_CONFIG.routers?.componentUrl || '/big-screen-components')
  18. }
  19. },
  20. methods: {
  21. }
  22. }
  23. </script>
  24. <style lang="scss" scoped>
  25. </style>