kun 19/10/9/21:58

This commit is contained in:
沈学坤
2019-10-09 21:57:13 +08:00
parent 8b2b683ca4
commit 47b35b28a2
19 changed files with 703 additions and 517 deletions

View File

@@ -352,6 +352,9 @@
</div>
</div>
</div>
<template v-if="file">
<img class="img-img" :src="file" alt />
</template>
<div class="ll">
<button type="button" @click="submit(0)">保存</button>
<button type="submit" @click="submit(1)">提交</button>
@@ -525,8 +528,10 @@ export default {
proimages: _this.proimages
}
}).then(res => {
console.log(res)
if (res.data.code === 200) {
alert(res.data.message)
_this.file = ''
} else {
_this.$message.error('请求数据有问题!')
}
@@ -564,6 +569,11 @@ export default {
</script>
<style lang='scss' scoped>
.img-img{
margin-top: 25px;
width: 150px;
height: 250px;
}
.wrapper {
min-width: 1280px;
box-sizing: border-box;