Commit de3e8cd1 authored by zhengke's avatar zhengke

修改

parent 6fe65e20
...@@ -152,6 +152,7 @@ ...@@ -152,6 +152,7 @@
Image: '', Image: '',
VideoTime: 0, VideoTime: 0,
WithHeight: 0, WithHeight: 0,
PathType:0
}, },
selectId: -1, selectId: -1,
emitmsg: [], emitmsg: [],
...@@ -219,6 +220,10 @@ ...@@ -219,6 +220,10 @@
}, },
// 新增素材信息 // 新增素材信息
addPageList() { addPageList() {
var upInfo = JSON.parse(localStorage.uploadInfo);
if(upInfo){
this.addpageMsg.PathType=upInfo.StoreType;
}
this.apipost("/api/product/SetMaterialInfo", this.addpageMsg, res => { this.apipost("/api/product/SetMaterialInfo", this.addpageMsg, res => {
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
this.GetPageList(); this.GetPageList();
......
...@@ -150,6 +150,7 @@ ...@@ -150,6 +150,7 @@
Image: '', Image: '',
VideoTime: 0, VideoTime: 0,
WithHeight: 0, WithHeight: 0,
PathType:0
}, },
selectId: -1, selectId: -1,
emitmsg: {}, emitmsg: {},
...@@ -231,6 +232,10 @@ ...@@ -231,6 +232,10 @@
}, },
// 新增素材信息 // 新增素材信息
addPageList() { addPageList() {
var upInfo = JSON.parse(localStorage.uploadInfo);
if(upInfo){
this.addpageMsg.PathType=upInfo.StoreType;
}
this.apipost("/api/product/SetMaterialInfo", this.addpageMsg, res => { this.apipost("/api/product/SetMaterialInfo", this.addpageMsg, res => {
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
this.GetPageList(); this.GetPageList();
......
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