Commit c7c84f31 authored by youjie's avatar youjie

直客首页

parent fa1fe682
...@@ -461,28 +461,42 @@ ...@@ -461,28 +461,42 @@
//获取数据 //获取数据
setSubPlugData() { setSubPlugData() {
this.currentEditItem.plugData = JSON.parse(JSON.stringify(this.currentEditItemData)); this.currentEditItem.plugData = JSON.parse(JSON.stringify(this.currentEditItemData));
if(!this.currentEditItem.plugData.Logo) return this.Error(this.$t('objFill.v101.qingwspzxxi')+'-Web LOGO') if(this.currentEditItem.Id&&(this.currentEditItem.Id=="index_nav"||
if(!this.currentEditItem.plugData.MLogo) return this.Error(this.$t('objFill.v101.qingwspzxxi')+'-Mobile LOGO') this.currentEditItem.Id=="index_slider1"||
if(this.currentEditItem.plugData.MenuList.length>0){ this.currentEditItem.Id=="index_roll1"||
for(let j=0;j<this.currentEditItem.plugData.MenuList.length;j++){ this.currentEditItem.Id=="index_roll2")){
let y = this.currentEditItem.plugData.MenuList[j] if(this.currentEditItem.Id=="index_nav"&&!this.currentEditItem.plugData.Logo) return this.Error(this.$t('objFill.v101.qingwspzxxi')+'-Web LOGO')
if(!y.MenuName||!y.MenuSubName||!y.FileUrl||!y.LinkUrl||y.SubMenuList.length==0) { if(!this.currentEditItem.plugData.MLogo) return this.Error(this.$t('objFill.v101.qingwspzxxi')+'-Mobile LOGO')
return this.Error(this.$t('objFill.v101.qingwspzxxi')+'-'+(j+1)) if(this.currentEditItem.plugData.MenuList&&this.currentEditItem.plugData.MenuList.length>0){
for(let j=0;j<this.currentEditItem.plugData.MenuList.length;j++){
let y = this.currentEditItem.plugData.MenuList[j]
if(!y.MenuName||!y.MenuSubName||!y.FileUrl||!y.LinkUrl||y.SubMenuList.length==0) {
return this.Error(this.$t('objFill.v101.qingwspzxxi')+'-'+(j+1))
}
for(let g=0;g<y.SubMenuList.length;g++){
let z = y.SubMenuList[g]
if(!z.MenuName||!z.MenuSubName||!z.LinkUrl) {
return this.Error(this.$t('objFill.v101.qingwspzxxi')+'-'+(j+1)+'-'+(g+1))
}
}
} }
for(let g=0;g<y.SubMenuList.length;g++){ }
let z = y.SubMenuList[g] if(this.currentEditItem.plugData.NavList&&this.currentEditItem.plugData.NavList.length>0){
if(!z.MenuName||!z.MenuSubName||!z.LinkUrl) { for(let j=0;j<this.currentEditItem.plugData.NavList.length;j++){
return this.Error(this.$t('objFill.v101.qingwspzxxi')+'-'+(j+1)+'-'+(g+1)) let y = this.currentEditItem.plugData.NavList[j]
if(!y.SubName||!y.SubEnName||!y.FileUrl||!y.LinkUrl) {
return this.Error(this.$t('objFill.v101.qingwspzxxi')+'-'+(j+1))
} }
} }
} }
} if(this.currentEditItem.plugData.BottomList.length>0){
if(this.currentEditItem.plugData.BottomList.length>0){ for(let i=0;i<this.currentEditItem.plugData.BottomList.length;i++){
for(let i=0;i<this.currentEditItem.plugData.BottomList.length;i++){ let x = this.currentEditItem.plugData.BottomList[i]
let x = this.currentEditItem.plugData.BottomList[i] if(!x.LinkTitle||!x.LinkUrl) return this.Error('Foot Menu'+ this.$t('objFill.v101.qingwspzxxi')+'-'+(i+1))
if(!x.LinkTitle||!x.LinkUrl) return this.Error('Foot Menu'+ this.$t('objFill.v101.qingwspzxxi')+'-'+(i+1)) }
} }
} }
this.isShowDialog = false; this.isShowDialog = false;
}, },
......
...@@ -155,13 +155,12 @@ ...@@ -155,13 +155,12 @@
<td rowspan="2"> <td rowspan="2">
<el-form-item :label="$t('objFill.v101.fengmian')+(index+1)" style="margin-bottom: 0;"> <el-form-item :label="$t('objFill.v101.fengmian')+(index+1)" style="margin-bottom: 0;">
<div class="webSliderDiv" @click="menuIndex=index"> <div class="webSliderDiv" @click="menuIndex=index">
<el-upload :http-request="UploadAttachment" <el-upload :http-request="(file)=>UploadAttachment(file,item.FileType)"
:before-upload="item.FileType==2?beforeUploadVideo:''" :before-upload="(file)=>beforeUploadVideo(file,item.FileType)"
:multiple="false" :accept="getAccept(item.FileType)" :multiple="false" :accept="getAccept(item.FileType)"
:show-file-list="false" action=""> :show-file-list="false" action="">
<img v-if="item.FileType==1&&item.FileUrl" :src="item.FileUrl" class="web_imgUrl" alt="" /> <img v-if="item.FileType==1&&item.FileUrl" :src="item.FileUrl" class="web_imgUrl" alt="" />
<video v-if="item.FileType==2&&item.FileUrl" :src="item.FileUrl" class="web_imgUrl" <video v-if="item.FileType==2&&item.FileUrl" :src="item.FileUrl" class="web_imgUrl"></video>
alt=""></video>
<div class="addIconDiv"> <div class="addIconDiv">
<i class="web_addImg iconfont icon-img_haha"></i> <i class="web_addImg iconfont icon-img_haha"></i>
<i class="web_delImg iconfont icon-img_delete_small" style="margin-left:10px;" <i class="web_delImg iconfont icon-img_delete_small" style="margin-left:10px;"
...@@ -224,7 +223,9 @@ ...@@ -224,7 +223,9 @@
<td rowspan="2"> <td rowspan="2">
<el-form-item :label="$t('objFill.v101.fengmian')+(index+1)+`-`+(subIndex+1)" style="margin-bottom: 0;"> <el-form-item :label="$t('objFill.v101.fengmian')+(index+1)+`-`+(subIndex+1)" style="margin-bottom: 0;">
<div class="webSliderDiv" @click="menuIndex=index,subMenuIndex=subIndex"> <div class="webSliderDiv" @click="menuIndex=index,subMenuIndex=subIndex">
<el-upload :http-request="UploadAttachment2" :multiple="true" :accept="getAccept(sub.FileType)" <el-upload
:before-upload="(file)=>beforeUploadVideo(file,sub.FileType)"
:http-request="(file)=>UploadAttachment2(file,sub.FileType)" :multiple="true" :accept="getAccept(sub.FileType)"
:show-file-list="false" action=""> :show-file-list="false" action="">
<img v-if="sub.FileType==1&&sub.FileUrl" :src="sub.FileUrl" class="web_imgUrl" alt="" /> <img v-if="sub.FileType==1&&sub.FileUrl" :src="sub.FileUrl" class="web_imgUrl" alt="" />
<video v-if="sub.FileType==2&&sub.FileUrl" :src="sub.FileUrl" class="web_imgUrl" alt=""></video> <video v-if="sub.FileType==2&&sub.FileUrl" :src="sub.FileUrl" class="web_imgUrl" alt=""></video>
...@@ -424,7 +425,8 @@ ...@@ -424,7 +425,8 @@
} }
}); });
}, },
beforeUploadVideo: function (file) { // 视频验证 beforeUploadVideo: function (file,FileType) { // 视频验证
if(FileType==1) return true
const isLt10M = file.size / 1024 / 1024 < 10; const isLt10M = file.size / 1024 / 1024 < 10;
if (['video/mp4', 'video/ogg', 'video/flv', 'video/avi', 'video/wmv', 'video/rmvb'].indexOf(file.type) === - if (['video/mp4', 'video/ogg', 'video/flv', 'video/avi', 'video/wmv', 'video/rmvb'].indexOf(file.type) === -
1) { 1) {
...@@ -437,49 +439,54 @@ ...@@ -437,49 +439,54 @@
} }
}, },
//上传图片 //上传图片
UploadAttachment(file,type) { UploadAttachment(file,FileType) {
let newArr = []; let newArr = [];
newArr.push(file.file); newArr.push(file.file);
var path = "/Upload/WebSite/"; var path = "/Upload/WebSite/";
this.$message.info(this.$t('tips.shangchuanzhong')) this.$message.info(this.$t('tips.shangchuanzhong'))
console.log(this.plugData.MenuList[this.menuIndex].FileUrl,'-----11111') // this.UploadSelfFileT(path, newArr, x => {
this.UploadSelfFileT(path, newArr, x => { // var str = x.data.FilePath;
var str = x.data.FilePath; // var imgUrl = this.domainManager().ViittoFileUrl + str;
var imgUrl = this.domainManager().ViittoFileUrl + str; // this.plugData.MenuList[this.menuIndex].FileUrl = imgUrl;
this.plugData.MenuList[this.menuIndex].FileUrl = imgUrl; // this.$message.success(this.$t('tips.scchenggong'));
this.$message.success(this.$t('tips.scchenggong')); // },2);
},2); if(FileType==1){
this.UploadSelfFileT(path, newArr, x => {
// if(this.plugData.MenuList[this.menuIndex].FileType==1){ var str = x.data.FilePath;
// console.log(this.plugData.MenuList[this.menuIndex].FileUrl,'-----11111') var imgUrl = this.domainManager().ViittoFileUrl + str;
// this.UploadSelfFileT(path, newArr, x => { this.plugData.MenuList[this.menuIndex].FileUrl = imgUrl;
// var str = x.data.FilePath; this.$message.success(this.$t('tips.scchenggong'));
// var imgUrl = this.domainManager().ViittoFileUrl + str; },2);
// this.plugData.MenuList[this.menuIndex].FileUrl = imgUrl; }else{
// this.$message.success(this.$t('tips.scchenggong')); this.UploadFileToAli2024(path, newArr, x => {
// },2); var str = x.data.FilePath;
// }else{ var imgUrl = this.domainManager().OSSUrl + str;
// console.log(this.plugData.MenuList[this.menuIndex].FileUrl,'-----22222') this.plugData.MenuList[this.menuIndex].FileUrl = imgUrl;
// this.UploadFileToAli2024(path, newArr, x => { this.$message.success(this.$t('tips.scchenggong'));
// var str = x.data.FilePath; },2);
// var imgUrl = this.domainManager().ViittoFileUrl + str; }
// this.plugData.MenuList[this.menuIndex].FileUrl = imgUrl;
// this.$message.success(this.$t('tips.scchenggong'));
// },2);
// }
}, },
UploadAttachment2(file) { UploadAttachment2(file,FileType) {
let newArr = []; let newArr = [];
newArr.push(file.file); newArr.push(file.file);
var path = "/Upload/WebSite/"; var path = "/Upload/WebSite/";
this.$message.info(this.$t('tips.shangchuanzhong')) this.$message.info(this.$t('tips.shangchuanzhong'))
this.UploadSelfFileT(path, newArr, x => { if(FileType==1){
var str = x.data.FilePath; this.UploadSelfFileT(path, newArr, x => {
var imgUrl = this.domainManager().ViittoFileUrl + str; var str = x.data.FilePath;
this.plugData.MenuList[this.menuIndex].SubMenuList[this.subMenuIndex].FileUrl = imgUrl; var imgUrl = this.domainManager().ViittoFileUrl + str;
this.$message.success(this.$t('tips.scchenggong')); this.plugData.MenuList[this.menuIndex].SubMenuList[this.subMenuIndex].FileUrl = imgUrl;
},2); this.$message.success(this.$t('tips.scchenggong'));
},2);
}else{
this.UploadFileToAli2024(path, newArr, x => {
var str = x.data.FilePath;
var imgUrl = this.domainManager().OSSUrl + str;
this.plugData.MenuList[this.menuIndex].SubMenuList[this.subMenuIndex].FileUrl = imgUrl
this.$message.success(this.$t('tips.scchenggong'));
},2);
}
}, },
UploadAttachmentLogo(file) { UploadAttachmentLogo(file) {
let newArr = []; let newArr = [];
......
...@@ -151,18 +151,12 @@ ...@@ -151,18 +151,12 @@
<td class="w350" rowspan="3"> <td class="w350" rowspan="3">
<el-form-item :label="$t('objFill.v101.fengmian')+(index+1)" style="margin-bottom: 0;"> <el-form-item :label="$t('objFill.v101.fengmian')+(index+1)" style="margin-bottom: 0;">
<div class="webSliderDiv" @click="clickIndex=index"> <div class="webSliderDiv" @click="clickIndex=index">
<el-upload v-if="item.FileType==1" :http-request="UploadAttachment" :multiple="true" <el-upload
:before-upload="(file)=>beforeUploadVideo(file,item.FileType)"
:http-request="(file)=>UploadAttachment(file,item.FileType)" :multiple="true"
accept="image/jpeg,image/gif,image/png,image/bmp" :show-file-list="false" action=""> accept="image/jpeg,image/gif,image/png,image/bmp" :show-file-list="false" action="">
<img v-if="item.FileUrl" :src="item.FileUrl" class="web_imgUrl" alt="" /> <img v-if="item.FileType==1&&item.FileUrl" :src="item.FileUrl" class="web_imgUrl" alt="" />
<div class="addIconDiv"> <video v-if="item.FileType==2&&item.FileUrl" :src="item.FileUrl" class="web_imgUrl"></video>
<i class="web_addImg iconfont icon-img_haha"></i>
<i class="web_delImg iconfont icon-img_delete_small" style="margin-left:10px;"
@click.stop="item.FileUrl=''"></i>
</div>
</el-upload>
<el-upload v-if="item.FileType==2" :http-request="UploadAttachment" :multiple="true"
accept="video/mp4,video/webm" :show-file-list="false" action="">
<video v-if="item.FileUrl" :src="item.FileUrl" class="web_imgUrl" alt=""></video>
<div class="addIconDiv"> <div class="addIconDiv">
<i class="web_addImg iconfont icon-img_haha"></i> <i class="web_addImg iconfont icon-img_haha"></i>
<i class="web_delImg iconfont icon-img_delete_small" style="margin-left:10px;" <i class="web_delImg iconfont icon-img_delete_small" style="margin-left:10px;"
...@@ -276,18 +270,40 @@ ...@@ -276,18 +270,40 @@
that.plugData.NavList.splice(index, 1) that.plugData.NavList.splice(index, 1)
}); });
}, },
beforeUploadVideo: function (file,FileType) { // 视频验证
if(FileType==1) return true
const isLt10M = file.size / 1024 / 1024 < 10;
if (['video/mp4', 'video/ogg', 'video/flv', 'video/avi', 'video/wmv', 'video/rmvb'].indexOf(file.type) === -
1) {
this.$message.error(this.$t('objFill.qingsczqdspgs'));
return false;
}
if (!isLt10M) {
this.$message.error(this.$t('objFill.shngcspbncgs'));
return false;
}
},
//上传图片 //上传图片
UploadAttachment(file) { UploadAttachment(file,FileType) {
let newArr = []; let newArr = [];
newArr.push(file.file); newArr.push(file.file);
var path = "/Upload/WebSite/"; var path = "/Upload/WebSite/";
this.$message.info(this.$t('tips.shangchuanzhong')) this.$message.info(this.$t('tips.shangchuanzhong'))
this.UploadSelfFileT(path, newArr, x => { if(FileType==1){
var str = x.data.FilePath; this.UploadSelfFileT(path, newArr, x => {
var imgUrl = this.domainManager().ViittoFileUrl + str; var str = x.data.FilePath;
this.plugData.NavList[this.clickIndex].FileUrl = imgUrl; var imgUrl = this.domainManager().ViittoFileUrl + str;
this.$message.success(this.$t('tips.scchenggong')); this.plugData.NavList[this.clickIndex].FileUrl = imgUrl;
},2); this.$message.success(this.$t('tips.scchenggong'));
},2);
}else{
this.UploadFileToAli2024(path, newArr, x => {
var str = x.data.FilePath;
var imgUrl = this.domainManager().OSSUrl + str;
this.plugData.NavList[this.clickIndex].FileUrl = imgUrl;
this.$message.success(this.$t('tips.scchenggong'));
},2);
}
}, },
//显示菜单弹窗 //显示菜单弹窗
ShowMenuDialog(item) { ShowMenuDialog(item) {
......
...@@ -152,18 +152,12 @@ ...@@ -152,18 +152,12 @@
<td class="w350" rowspan="3"> <td class="w350" rowspan="3">
<el-form-item :label="$t('objFill.v101.fengmian')+(index+1)" style="margin-bottom: 0;"> <el-form-item :label="$t('objFill.v101.fengmian')+(index+1)" style="margin-bottom: 0;">
<div class="webSliderDiv" @click="clickIndex=index"> <div class="webSliderDiv" @click="clickIndex=index">
<el-upload v-if="item.FileType==1" :http-request="UploadAttachment" :multiple="true" <el-upload
:before-upload="(file)=>beforeUploadVideo(file,item.FileType)"
:http-request="(file)=>UploadAttachment(file,item.FileType)" :multiple="true"
accept="image/jpeg,image/gif,image/png,image/bmp" :show-file-list="false" action=""> accept="image/jpeg,image/gif,image/png,image/bmp" :show-file-list="false" action="">
<img v-if="item.FileUrl" :src="item.FileUrl" class="web_imgUrl" alt="" /> <img v-if="item.FileType==1&&item.FileUrl" :src="item.FileUrl" class="web_imgUrl" alt="" />
<div class="addIconDiv"> <video v-if="item.FileType==2&&item.FileUrl" :src="item.FileUrl" class="web_imgUrl" alt=""></video>
<i class="web_addImg iconfont icon-img_haha"></i>
<i class="web_delImg iconfont icon-img_delete_small" style="margin-left:10px;"
@click.stop="item.FileUrl=''"></i>
</div>
</el-upload>
<el-upload v-if="item.FileType==2" :http-request="UploadAttachment" :multiple="true"
accept="video/mp4,video/webm" :show-file-list="false" action="">
<video v-if="item.FileUrl" :src="item.FileUrl" class="web_imgUrl" alt=""></video>
<div class="addIconDiv"> <div class="addIconDiv">
<i class="web_addImg iconfont icon-img_haha"></i> <i class="web_addImg iconfont icon-img_haha"></i>
<i class="web_delImg iconfont icon-img_delete_small" style="margin-left:10px;" <i class="web_delImg iconfont icon-img_delete_small" style="margin-left:10px;"
...@@ -279,18 +273,40 @@ ...@@ -279,18 +273,40 @@
that.plugData.NavList.splice(index, 1) that.plugData.NavList.splice(index, 1)
}); });
}, },
beforeUploadVideo: function (file,FileType) { // 视频验证
if(FileType==1) return true
const isLt10M = file.size / 1024 / 1024 < 10;
if (['video/mp4', 'video/ogg', 'video/flv', 'video/avi', 'video/wmv', 'video/rmvb'].indexOf(file.type) === -
1) {
this.$message.error(this.$t('objFill.qingsczqdspgs'));
return false;
}
if (!isLt10M) {
this.$message.error(this.$t('objFill.shngcspbncgs'));
return false;
}
},
//上传图片 //上传图片
UploadAttachment(file) { UploadAttachment(file,FileType) {
let newArr = []; let newArr = [];
newArr.push(file.file); newArr.push(file.file);
var path = "/Upload/WebSite/"; var path = "/Upload/WebSite/";
this.$message.info(this.$t('tips.shangchuanzhong')) this.$message.info(this.$t('tips.shangchuanzhong'))
this.UploadSelfFileT(path, newArr, x => { if(FileType==1){
var str = x.data.FilePath; this.UploadSelfFileT(path, newArr, x => {
var imgUrl = this.domainManager().ViittoFileUrl + str; var str = x.data.FilePath;
this.plugData.NavList[this.clickIndex].FileUrl = imgUrl; var imgUrl = this.domainManager().ViittoFileUrl + str;
this.$message.success(this.$t('tips.scchenggong')); this.plugData.NavList[this.clickIndex].FileUrl = imgUrl;
},2); this.$message.success(this.$t('tips.scchenggong'));
},2);
}else{
this.UploadFileToAli2024(path, newArr, x => {
var str = x.data.FilePath;
var imgUrl = this.domainManager().OSSUrl + str;
this.plugData.NavList[this.clickIndex].FileUrl = imgUrl;
this.$message.success(this.$t('tips.scchenggong'));
},2);
}
}, },
//显示菜单弹窗 //显示菜单弹窗
ShowMenuDialog(item) { ShowMenuDialog(item) {
......
...@@ -151,24 +151,19 @@ ...@@ -151,24 +151,19 @@
<td class="w350" rowspan="3"> <td class="w350" rowspan="3">
<el-form-item :label="$t('objFill.v101.fengmian')+(index+1)" style="margin-bottom: 0;"> <el-form-item :label="$t('objFill.v101.fengmian')+(index+1)" style="margin-bottom: 0;">
<div class="webSliderDiv" @click="clickIndex=index"> <div class="webSliderDiv" @click="clickIndex=index">
<el-upload v-if="item.FileType==1" :http-request="UploadAttachment" :multiple="true" <el-upload
:before-upload="(file)=>beforeUploadVideo(file,item.FileType)"
:http-request="(file)=>UploadAttachment(file,item.FileType)" :multiple="true"
accept="image/jpeg,image/gif,image/png,image/bmp" :show-file-list="false" action=""> accept="image/jpeg,image/gif,image/png,image/bmp" :show-file-list="false" action="">
<img v-if="item.FileUrl" :src="item.FileUrl" class="web_imgUrl" alt="" /> <img v-if="item.FileType==1&&item.FileUrl" :src="item.FileUrl" class="web_imgUrl" alt="" />
<div class="addIconDiv"> <video v-if="item.FileType==2&&item.FileUrl" :src="item.FileUrl" class="web_imgUrl"></video>
<i class="web_addImg iconfont icon-img_haha"></i>
<i class="web_delImg iconfont icon-img_delete_small" style="margin-left:10px;"
@click.stop="item.FileUrl=''"></i>
</div>
</el-upload>
<el-upload v-if="item.FileType==2" :http-request="UploadAttachment" :multiple="true"
accept="video/mp4,video/webm" :show-file-list="false" action="">
<video v-if="item.FileUrl" :src="item.FileUrl" class="web_imgUrl" alt=""></video>
<div class="addIconDiv"> <div class="addIconDiv">
<i class="web_addImg iconfont icon-img_haha"></i> <i class="web_addImg iconfont icon-img_haha"></i>
<i class="web_delImg iconfont icon-img_delete_small" style="margin-left:10px;" <i class="web_delImg iconfont icon-img_delete_small" style="margin-left:10px;"
@click.stop="item.FileUrl=''"></i> @click.stop="item.FileUrl=''"></i>
</div> </div>
</el-upload> </el-upload>
</div> </div>
<div v-if="plugData.Type==1">{{$t('objFill.v101.tupiqscsqin')}}</div> <div v-if="plugData.Type==1">{{$t('objFill.v101.tupiqscsqin')}}</div>
<div v-else>{{$t('objFill.v101.tupiqscersw')}}</div> <div v-else>{{$t('objFill.v101.tupiqscersw')}}</div>
...@@ -276,16 +271,40 @@ ...@@ -276,16 +271,40 @@
that.plugData.NavList.splice(index, 1) that.plugData.NavList.splice(index, 1)
}); });
}, },
beforeUploadVideo: function (file,FileType) { // 视频验证
if(FileType==1) return true
const isLt10M = file.size / 1024 / 1024 < 10;
if (['video/mp4', 'video/ogg', 'video/flv', 'video/avi', 'video/wmv', 'video/rmvb'].indexOf(file.type) === -
1) {
this.$message.error(this.$t('objFill.qingsczqdspgs'));
return false;
}
if (!isLt10M) {
this.$message.error(this.$t('objFill.shngcspbncgs'));
return false;
}
},
//上传图片 //上传图片
UploadAttachment(file) { UploadAttachment(file,FileType) {
console.log()
let newArr = []; let newArr = [];
newArr.push(file.file); newArr.push(file.file);
var path = "/Upload/WebSite/"; var path = "/Upload/WebSite/";
this.UploadSelfFileT(path, newArr, x => { if(FileType==1){
var str = x.data.FilePath; this.UploadSelfFileT(path, newArr, x => {
var imgUrl = this.domainManager().ViittoFileUrl + str; var str = x.data.FilePath;
this.plugData.NavList[this.clickIndex].FileUrl = imgUrl; var imgUrl = this.domainManager().ViittoFileUrl + str;
},2); this.plugData.NavList[this.clickIndex].FileUrl = imgUrl;
},2);
}else{
this.UploadFileToAli2024(path, newArr, x => {
var str = x.data.FilePath;
var imgUrl = this.domainManager().OSSUrl + str;
this.plugData.NavList[this.clickIndex].FileUrl = imgUrl;
this.$message.success(this.$t('tips.scchenggong'));
},2);
}
}, },
UploadAttachmentMLogo(file) { UploadAttachmentMLogo(file) {
let newArr = []; let newArr = [];
......
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