JING 8 months ago
parent 7f5d133096
commit a99fc3d7aa
  1. 4
      config/api.js
  2. 14
      pagesA/merge/index.vue

@ -40,10 +40,8 @@ var api = {
ossUpload:function(data,ossthenFun,osscatchFun){
//从http://tmp/IX45zGr8kI1Tb1fd2c2b3045e9bfce734869d2024805.png 中
//提取 IX45zGr8kI1Tb1fd2c2b3045e9bfce734869d2024805.png 文件名
var fileNameArr = data.filePath.split('/').pop();
console.log(fileNameArr);
//获取文件名
var fileName = fileNameArr[1];
var fileName = data.filePath.split('/').pop();
//获取文件格式
var suffixArr = fileName.split('.');
var suffix = suffixArr[1];

@ -96,7 +96,7 @@
<u-input
placeholder="宽"
border="surround"
v-model="value"
v-model="FormData.w_h_px.w"
@change="change"
></u-input>
</view>
@ -105,7 +105,7 @@
<u-input
placeholder="高"
border="surround"
v-model="value"
v-model="FormData.w_h_px.h"
@change="change"
></u-input>
</view>
@ -250,15 +250,7 @@
selectList:[],
selectIndex:0,//
//
w_h_px:{
w:0,
h:0,
},
kb:{
min:0,
max:0,
},
//
FormData:{
specs_id:0, //id
portrait_id:0, //id

Loading…
Cancel
Save