|
|
@@ -8,7 +8,7 @@
|
|
|
</template>
|
|
|
|
|
|
<script>
|
|
|
-import { addstorePhoto } from '@/api/index';
|
|
|
+import { chainsGroupAddPhoto } from '@/api/index';
|
|
|
import axios from 'axios';
|
|
|
|
|
|
export default {
|
|
|
@@ -104,7 +104,7 @@ export default {
|
|
|
},
|
|
|
function (err) {
|
|
|
addressesRemark = '';
|
|
|
- }
|
|
|
+ },
|
|
|
);
|
|
|
},
|
|
|
fail: function () {
|
|
|
@@ -159,7 +159,7 @@ export default {
|
|
|
message: '上传中...',
|
|
|
forbidClick: true,
|
|
|
});
|
|
|
- addstorePhoto(form).then((res) => {
|
|
|
+ chainsGroupAddPhoto(form).then((res) => {
|
|
|
if (res.code == 200) {
|
|
|
loind1.clear();
|
|
|
that.$toast('上传成功!');
|