Commit 28ba8c9d authored by 姬鋆屾's avatar 姬鋆屾

推,网络理政详情页附件下载

parent d1432859
......@@ -102,20 +102,6 @@
点击下载
</a-button>
</template>
<!-- <template v-if="checkVideo">
<img
v-for="(item, index) in fromData.url"
:key="index"
:src="baseUrl + item"
/>
</template>
<template v-if="checkWav">
<img
v-for="(item, index) in fromData.url"
:key="index"
:src="baseUrl + item"
/>
</template> -->
</div>
<div v-else>--</div>
</div>
......@@ -307,9 +293,6 @@ export default {
return {
fromData: {},
baseUrl: process.env.VUE_APP_API_BASE_URL + "/zwfw_api/",
checkImg: false,
checkVideo: false,
checkWav: false,
};
},
computed: {
......@@ -322,20 +305,6 @@ export default {
},
},
},
watch: {
fromData: {
deep: true,
immediate: true,
handler(val) {
console.log(val);
if (!/\.(jpg|jpeg|png|GIF|JPG|PNG)$/.test(val.name)) {
return false;
} else {
return true;
}
},
},
},
methods: {
onClose() {
......
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