数据大屏自动登录

This commit is contained in:
Vinjor 2024-08-12 16:53:18 +08:00
parent 03f6b7ee0b
commit bc6d534599
6 changed files with 17 additions and 1 deletions

View File

@ -21,3 +21,6 @@ VUE_APP_DOC_ENABLE = true
# 百度统计
VUE_APP_BAIDU_CODE = fadc1bd5db1a1d6f581df60a1807f8ab
# 大屏设计器服务
VUE_APP_BIG_SCREEN_SERVER = 'http://127.0.0.1:3000'

View File

@ -21,3 +21,6 @@ VUE_APP_DOC_ENABLE = true
# 百度统计
VUE_APP_BAIDU_CODE = fadc1bd5db1a1d6f581df60a1807f8ab
# 大屏设计器服务
VUE_APP_BIG_SCREEN_SERVER = 'http://127.0.0.1:3000'

View File

@ -23,3 +23,6 @@ VUE_APP_DOC_ENABLE = false
# 百度统计
VUE_APP_BAIDU_CODE = fadc1bd5db1a1d6f581df60a1807f8ab
# 大屏设计器服务
VUE_APP_BIG_SCREEN_SERVER = 'http://127.0.0.1:3000'

View File

@ -23,3 +23,6 @@ VUE_APP_DOC_ENABLE = false
# 百度统计
VUE_APP_BAIDU_CODE = fadc1bd5db1a1d6f581df60a1807f8ab
# 大屏设计器服务
VUE_APP_BIG_SCREEN_SERVER = 'http://127.0.0.1:3000'

View File

@ -23,3 +23,6 @@ VUE_APP_DOC_ENABLE = true
# 百度统计
VUE_APP_BAIDU_CODE = fadc1bd5db1a1d6f581df60a1807f8ab
# 大屏设计器服务
VUE_APP_BIG_SCREEN_SERVER = 'http://127.0.0.1:3000'

View File

@ -6,12 +6,13 @@
</template>
<script>
import iFrame from "@/components/iFrame/index";
import {getAccessToken,getTenantId} from "@/utils/auth";
export default {
name: "GoView",
components: { iFrame },
data() {
return {
url: 'http://192.168.1.17:3000',
url: process.env.VUE_APP_BIG_SCREEN_SERVER+'/?tenantId='+getTenantId()+"&token="+getAccessToken(),
};
},
};