数据大屏自动登录
This commit is contained in:
parent
03f6b7ee0b
commit
bc6d534599
3
.env.dev
3
.env.dev
@ -21,3 +21,6 @@ VUE_APP_DOC_ENABLE = true
|
|||||||
|
|
||||||
# 百度统计
|
# 百度统计
|
||||||
VUE_APP_BAIDU_CODE = fadc1bd5db1a1d6f581df60a1807f8ab
|
VUE_APP_BAIDU_CODE = fadc1bd5db1a1d6f581df60a1807f8ab
|
||||||
|
|
||||||
|
# 大屏设计器服务
|
||||||
|
VUE_APP_BIG_SCREEN_SERVER = 'http://127.0.0.1:3000'
|
||||||
|
@ -21,3 +21,6 @@ VUE_APP_DOC_ENABLE = true
|
|||||||
|
|
||||||
# 百度统计
|
# 百度统计
|
||||||
VUE_APP_BAIDU_CODE = fadc1bd5db1a1d6f581df60a1807f8ab
|
VUE_APP_BAIDU_CODE = fadc1bd5db1a1d6f581df60a1807f8ab
|
||||||
|
|
||||||
|
# 大屏设计器服务
|
||||||
|
VUE_APP_BIG_SCREEN_SERVER = 'http://127.0.0.1:3000'
|
||||||
|
@ -23,3 +23,6 @@ VUE_APP_DOC_ENABLE = false
|
|||||||
|
|
||||||
# 百度统计
|
# 百度统计
|
||||||
VUE_APP_BAIDU_CODE = fadc1bd5db1a1d6f581df60a1807f8ab
|
VUE_APP_BAIDU_CODE = fadc1bd5db1a1d6f581df60a1807f8ab
|
||||||
|
|
||||||
|
# 大屏设计器服务
|
||||||
|
VUE_APP_BIG_SCREEN_SERVER = 'http://127.0.0.1:3000'
|
||||||
|
@ -23,3 +23,6 @@ VUE_APP_DOC_ENABLE = false
|
|||||||
|
|
||||||
# 百度统计
|
# 百度统计
|
||||||
VUE_APP_BAIDU_CODE = fadc1bd5db1a1d6f581df60a1807f8ab
|
VUE_APP_BAIDU_CODE = fadc1bd5db1a1d6f581df60a1807f8ab
|
||||||
|
|
||||||
|
# 大屏设计器服务
|
||||||
|
VUE_APP_BIG_SCREEN_SERVER = 'http://127.0.0.1:3000'
|
||||||
|
@ -23,3 +23,6 @@ VUE_APP_DOC_ENABLE = true
|
|||||||
|
|
||||||
# 百度统计
|
# 百度统计
|
||||||
VUE_APP_BAIDU_CODE = fadc1bd5db1a1d6f581df60a1807f8ab
|
VUE_APP_BAIDU_CODE = fadc1bd5db1a1d6f581df60a1807f8ab
|
||||||
|
|
||||||
|
# 大屏设计器服务
|
||||||
|
VUE_APP_BIG_SCREEN_SERVER = 'http://127.0.0.1:3000'
|
||||||
|
@ -6,12 +6,13 @@
|
|||||||
</template>
|
</template>
|
||||||
<script>
|
<script>
|
||||||
import iFrame from "@/components/iFrame/index";
|
import iFrame from "@/components/iFrame/index";
|
||||||
|
import {getAccessToken,getTenantId} from "@/utils/auth";
|
||||||
export default {
|
export default {
|
||||||
name: "GoView",
|
name: "GoView",
|
||||||
components: { iFrame },
|
components: { iFrame },
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
url: 'http://192.168.1.17:3000',
|
url: process.env.VUE_APP_BIG_SCREEN_SERVER+'/?tenantId='+getTenantId()+"&token="+getAccessToken(),
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user