Commit 58aee412 authored by “yiyousong”'s avatar “yiyousong”

pref:测试接口

parent 0dc5abdb
#生产环境 #生产环境
NODE_ENV = "production" NODE_ENV = "production"
VUE_APP_API_BASE_URL=http://192.168.0.98:11078 VUE_APP_API_BASE_URL=/
\ No newline at end of file \ No newline at end of file
#测试环境 #测试环境
NODE_ENV = "test" NODE_ENV = "test"
VUE_APP_API_BASE_URL=http://192.168.0.98:11078 VUE_APP_API_BASE_URL=/
\ No newline at end of file \ No newline at end of file
...@@ -167,7 +167,7 @@ ...@@ -167,7 +167,7 @@
<img <img
class="logo" class="logo"
v-if="formInfo.logoPath" v-if="formInfo.logoPath"
:src="'/' + formInfo.logoPath" :src="api + formInfo.logoPath"
/> />
<div v-else> <div v-else>
<a-icon :type="loading ? 'loading' : 'plus'" /> <a-icon :type="loading ? 'loading' : 'plus'" />
...@@ -521,6 +521,7 @@ export default { ...@@ -521,6 +521,7 @@ export default {
}, },
created() { created() {
this.getModel(); this.getModel();
console.log(process.env.NODE_ENV);
}, },
computed: { computed: {
Visible: { Visible: {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment