Skip to content

Commit e962ffc

Browse files
author
张晨曦
committed
更改streamis入参的方式
1 parent a635f7f commit e962ffc

File tree

1 file changed

+11
-1
lines changed
  • web/src/apps/workflows/module/innerIframe

1 file changed

+11
-1
lines changed

web/src/apps/workflows/module/innerIframe/index.vue

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
</div>
77
</template>
88
<template v-else>
9-
<iframe :src="`/streamis/#/?projectName=${projectName}`" width="100%" frameborder="0"></iframe>
9+
<iframe :src="`${url}?projectName=${this.projectName}`" width="100%" frameborder="0"></iframe>
1010
</template>
1111
</div>
1212
</template>
@@ -17,6 +17,16 @@ export default {
1717
components: {
1818
emptyGuide
1919
},
20+
mounted() {
21+
let baseInfo = JSON.parse(localStorage.getItem('baseInfo'))
22+
let applicationItem = baseInfo.applications.filter(item => item.name == 'realTimeJobCenter')[0]
23+
this.url = applicationItem.url;
24+
},
25+
data() {
26+
return {
27+
url: '',
28+
}
29+
},
2030
props: {
2131
projectName: {
2232
type: String,

0 commit comments

Comments
 (0)