|
@@ -346,13 +346,11 @@
|
|
|
|
|
|
imgTypeSelect(val) {
|
|
|
let that = this
|
|
|
- console.log(val)
|
|
|
- console.log(this.uploadType)
|
|
|
uni.chooseImage({
|
|
|
count: 1,
|
|
|
success: function(res) {
|
|
|
console.log(JSON.stringify(res.tempFilePaths));
|
|
|
- uploadImage(res.tempFilePaths[0], 'appData/',
|
|
|
+ uploadImage("image",res.tempFilePaths[0], 'appData/',
|
|
|
result => {
|
|
|
// 上传成功回调函数
|
|
|
console.log('图片地址', result)
|