|
@ -616,6 +616,7 @@ function chooseImageWx(){
|
|
|
});
|
|
|
}
|
|
|
function uploadImage(){
|
|
|
dd.showModal();
|
|
|
if (images.length == 0) {
|
|
|
dd.close();
|
|
|
return;
|
|
@ -660,7 +661,6 @@ function uploadImage(){
|
|
|
}
|
|
|
//保存图片
|
|
|
function sendImages(){
|
|
|
dd.showModal();
|
|
|
var now = new Date();
|
|
|
//清空images
|
|
|
images = [];
|
|
@ -1111,7 +1111,7 @@ function videoFileChange(target) {
|
|
|
}
|
|
|
//上传视频
|
|
|
function uploadVideo(){
|
|
|
// dd.showModal();
|
|
|
dd.showModal();
|
|
|
var fd=new FormData();
|
|
|
fd.append('file',document.getElementById("upload_input").files[0]);
|
|
|
$.ajax(server+"/upload/chat?type=4", {
|