|
@@ -118,10 +118,8 @@ export default {
|
|
this.form = response.data;
|
|
this.form = response.data;
|
|
this.form.type = parseInt(this.form.type);
|
|
this.form.type = parseInt(this.form.type);
|
|
if(this.form.content.includes(process.env.VUE_APP_BASE_API)){
|
|
if(this.form.content.includes(process.env.VUE_APP_BASE_API)){
|
|
- console.log("测试环境");
|
|
|
|
this.form.content = response.data.content
|
|
this.form.content = response.data.content
|
|
}else{
|
|
}else{
|
|
- console.log("本地环境");
|
|
|
|
this.form.content = response.data.content.replace(
|
|
this.form.content = response.data.content.replace(
|
|
new RegExp("/profile/upload/", "g"),
|
|
new RegExp("/profile/upload/", "g"),
|
|
this.baseUrl + "/profile/upload/")
|
|
this.baseUrl + "/profile/upload/")
|