Commit a8df4dcb by 冷斌

Merge remote-tracking branch 'origin/master'

parents 036e8077 efffda76
......@@ -68,9 +68,9 @@
<!-- <input id="file" name="image" type="file" v-show="false" class="upload" accept="image/*" @change="upload"/>
<input id="file2" name="image" type="file" v-show="false" class="upload" accept="image/*" @change="upload"/>
<input id="file3" name="image" type="file" v-show="false" class="upload" accept="image/*" @change="upload"/> -->
<input id="file" name="image" type="file" v-show="false" class="upload" accept="image/*" @change="upload"/>
<input id="file2" name="image" type="file" v-show="false" class="upload" accept="image/*" @change="upload"/>
<input id="file3" name="image" type="file" v-show="false" class="upload" accept="image/*" @change="upload"/>
<input id="file" name="image" type="file" style="display: none;" accept="image/*" @change="upload"/>
<input id="file2" name="image" type="file" style="display: none;" accept="image/*" @change="upload"/>
<input id="file3" name="image" type="file" style="display: none;" accept="image/*" @change="upload"/>
</div>
<!-- 按钮 -->
......@@ -183,6 +183,7 @@
this.uploadName = name;
if (this.uploadName === 'front_view') {
$("#file").click();
console.log($("#file").val)
}
if (this.uploadName === 'back_view') {
$("#file2").click();
......@@ -214,6 +215,8 @@
fileElementId: id,
data: {saveName: saveName},
dataType: 'html',
processData: false,
contentType: false,
success: function (data) {
data = data.replace(/<[^>]+>/g, "");
var str = JSON.parse(data);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment