HolyKnightIX 6 місяці тому
джерело
коміт
34cb56f870
1 змінених файлів з 13 додано та 0 видалено
  1. +13
    -0
      example/page/index.vue

+ 13
- 0
example/page/index.vue Переглянути файл

@@ -397,6 +397,19 @@ export default {
if (tenantId) this.tenantId = tenantId
this.getData()
},
beforeCreate() {
const tenantId = this.$route.query.tenantId
const templateId = this.$route.query.templateId
if (templateId) {
this.$router.push({
path: "/designer",
query: {
tenantId,
templateId
}
})
}
}
}
</script>
<style lang="scss" scoped>


Завантаження…
Відмінити
Зберегти