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

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

parent d1432859
...@@ -102,20 +102,6 @@ ...@@ -102,20 +102,6 @@
点击下载 点击下载
</a-button> </a-button>
</template> </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>
<div v-else>--</div> <div v-else>--</div>
</div> </div>
...@@ -307,9 +293,6 @@ export default { ...@@ -307,9 +293,6 @@ export default {
return { return {
fromData: {}, fromData: {},
baseUrl: process.env.VUE_APP_API_BASE_URL + "/zwfw_api/", baseUrl: process.env.VUE_APP_API_BASE_URL + "/zwfw_api/",
checkImg: false,
checkVideo: false,
checkWav: false,
}; };
}, },
computed: { computed: {
...@@ -322,20 +305,6 @@ export default { ...@@ -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: { methods: {
onClose() { 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