|
@@ -397,6 +397,19 @@ export default { |
|
|
if (tenantId) this.tenantId = tenantId |
|
|
if (tenantId) this.tenantId = tenantId |
|
|
this.getData() |
|
|
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> |
|
|
</script> |
|
|
<style lang="scss" scoped> |
|
|
<style lang="scss" scoped> |
|
|