完善功能
This commit is contained in:
@@ -1,9 +1,10 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<html lang="zh-CN">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>展板数据配置</title>
|
||||
<link rel="favicon" href="/favicon.ico" type="image/x-icon">
|
||||
<link href="layui/css/layui.css" rel="stylesheet">
|
||||
<style>
|
||||
.container {
|
||||
@@ -289,7 +290,7 @@
|
||||
},
|
||||
done: function (res) {
|
||||
// 若上传失败
|
||||
if (res.state != 1) {
|
||||
if (res.state != 1) {
|
||||
layer.msg('上传失败', { icon: 2 });
|
||||
return;
|
||||
}
|
||||
@@ -330,7 +331,7 @@
|
||||
if (res.state != 1) {
|
||||
layer.msg('上传失败', { icon: 2 });
|
||||
return;
|
||||
}
|
||||
}
|
||||
// 上传成功的一些操作
|
||||
$('#image2').attr('src', res.data); // 置空上传失败的状态
|
||||
$('#upload-text2').html(''); // 置空上传失败的状态
|
||||
|
||||
BIN
电子展板/Assets/favicon.ico
Normal file
BIN
电子展板/Assets/favicon.ico
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 66 KiB |
Reference in New Issue
Block a user