提交 cec3ad81 编写于 作者: Mr.奇淼('s avatar Mr.奇淼(

将配置提取

上级 083b8da0
ENV = 'development'
VUE_APP_BASE_API = '/api'
\ No newline at end of file
VUE_APP_BASE_API = '/api'
VUE_APP_BASE_PATH = 'http://127.0.0.1'
ENV = 'production'
VUE_APP_BASE_API = '/api'
\ No newline at end of file
VUE_APP_BASE_API = '/api'
#下方修改为你的线上ip
VUE_APP_BASE_PATH = 'http://8.141.61.63'
\ No newline at end of file
<template>
<div style="height:80vh">
<iframe width="100%" height="100%" :src="'http://127.0.0.1:8888/form-generator/#/'" frameborder="0"></iframe>
<iframe width="100%" height="100%" :src="basePath+':8888/form-generator/#/'" frameborder="0"></iframe>
</div>
</template>
<script>
var path = process.env.VUE_APP_BASE_API
var path = process.env.VUE_APP_BASE_PATH
export default {
name:"FormGenerator",
data(){
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册