【订单详情】
1、订单评价的接入
This commit is contained in:
1 parent
cf73be8270
commit
c7323c1900
4 files changed
+86
-117
No files matched your search
+2
-4
@@ -438,8 +438,6 @@ export default {
|
||||
let count = opt.count || 1,
|
||||
sizeType = opt.sizeType || ['compressed'],
|
||||
sourceType = opt.sourceType || ['album', 'camera'],
|
||||
is_load = opt.is_load || true,
|
||||
uploadUrl = opt.url || '',
|
||||
inputName = opt.name || 'pics',
|
||||
pid = opt.pid,
|
||||
model = opt.model;
|
||||
@@ -468,13 +466,13 @@ export default {
|
||||
},
|
||||
success: function(res) {
|
||||
uni.hideLoading();
|
||||
if (res.statusCode == 403) {
|
||||
if (res.statusCode === 403) {
|
||||
that.Tips({
|
||||
title: res.data
|
||||
});
|
||||
} else {
|
||||
let data = res.data ? JSON.parse(res.data) : {};
|
||||
if (data.code == 200) {
|
||||
if (data.code === 200) {
|
||||
data.data.localPath = localPath;
|
||||
successCallback && successCallback(data)
|
||||
} else {
|
||||
|
||||
Reference in new issue
Block a user