Commit e17a60a4 authored by 郝聪敏's avatar 郝聪敏

fix: 修复本地环境变量无效问题、修改图片cdn地址

parent 23cf1908
NODE_ENV = 'development'
ENVIRONMENT = 'development'
\ No newline at end of file
NODE_ENV=development
ENVIRONMENT=development
\ No newline at end of file
NODE_ENV = 'production'
ENVIRONMENT = 'devtest'
\ No newline at end of file
NODE_ENV=production
VUE_APP_ENVIRONMENT=devtest
\ No newline at end of file
NODE_ENV = 'production'
ENVIRONMENT = 'production'
\ No newline at end of file
NODE_ENV=production
VUE_APP_ENVIRONMENT=production
\ No newline at end of file
......@@ -5,7 +5,7 @@ module.exports = {
apiKey: '2e7e0678d81d4542b09cdbc35812f1cbb07a4993cd13435ba49d9511be11ec95',
// Release version name/hash is required
release: 'mongo-ui@0.0.1',
release: 'mongo-ui@0.0.2',
baseSentryURL: 'http://sentry.quantgroups.com/api/0',
deleteAfterCompile: true,
include: /js\//, // 只上传js和map文件
......
......@@ -24,7 +24,7 @@ new Vue({
// 初始化sentry
Raven.config("https://1dc603dd7c09468793aa003ab0bf9480@sentry.q-gp.com/57", {
release,
environment: process.env.ENVIRONMENT
environment: process.env.VUE_APP_ENVIRONMENT
})
.addPlugin(RavenVue, Vue)
.install();
......
......@@ -101,7 +101,7 @@ axios.interceptors.response.use(
}
// 错误提示
console.error(err);
console.error("axios:", err);
if (err.response) {
err.message = ERR_MESSAGE_MAP.status[err.response.status] || `连接错误${err.response.status}`;
} else {
......
......@@ -49,7 +49,7 @@ export default {
}
}
&-header {
background: url(http://activitystatic.xyqb.com/mongo/images/assistant-card.d5444f9f.png) top
background: url(https://activitystatic.lkbang.net/mongo/images/assistant-card.d5444f9f.png) top
no-repeat;
background-size: contain;
padding: 24px 24px 21.5px;
......
......@@ -9,7 +9,7 @@
<cr-image
width="60px"
height="68px"
src="http://activitystatic.xyqb.com/mongo/images/ai-mongo.286af3ee.png"
src="https://activitystatic.lkbang.net/mongo/images/ai-mongo.286af3ee.png"
/>
</cr-col>
<div class="ai-test-cell-title">
......
......@@ -30,7 +30,7 @@
margin-left: -76.5px;
width: 153px;
height: 60px;
background: url('http://activitystatic.xyqb.com/mongo/images/activity-button%402x.ead076b6.png') no-repeat center/contain;
background: url('https://activitystatic.lkbang.net/mongo/images/activity-button%402x.ead076b6.png') no-repeat center/contain;
-webkit-animation: free_download .8s linear alternate infinite;
animation: free_download .8s linear alternate infinite;
}
......
......@@ -5,7 +5,7 @@
width=""
height=""
fit="cover"
src="http://activitystatic.xyqb.com/mongo/images/activity%402x.272880e4.png"
src="https://activitystatic.lkbang.net/mongo/images/activity%402x.272880e4.png"
/>
<div class="home-button" @click="$router.push('/home/activity')"></div>
<div class="home-service">
......
......@@ -98,7 +98,8 @@ export default {
data() {
return {
businessLicence,
angencyLicense: "http://activitystatic.xyqb.com/mongo/images/angency-license.ec9bda82.jpeg",
angencyLicense:
"https://activitystatic.lkbang.net/mongo/images/angency-license.ec9bda82.jpeg",
companys
};
},
......
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