This commit is contained in:
shijingjing
2022-09-15 13:39:19 +08:00
parent f284899d20
commit 92dc41c5bd

View File

@@ -92,7 +92,6 @@ export default {
...mapState(['user']) ...mapState(['user'])
}, },
methods: { methods: {
...mapActions(['shareToExternalChat']),
getDetail() { getDetail() {
this.$http.post(`/app/appmasssendingtask/queryDetailById?id=${this.id}`).then(res=> { this.$http.post(`/app/appmasssendingtask/queryDetailById?id=${this.id}`).then(res=> {
if (res?.data) { if (res?.data) {
@@ -113,7 +112,7 @@ export default {
current: img current: img
}) })
}, },
...mapActions(['previewFile']), ...mapActions(['previewFile', 'shareToExternalChat']),
prevFile(file) { prevFile(file) {
this.$loading() this.$loading()
this.previewFile({ ...file }).then(()=>{ this.previewFile({ ...file }).then(()=>{
@@ -193,7 +192,7 @@ export default {
this.shareToExternalChat({ ...text, ...data }).then((res) =>{ this.shareToExternalChat({ ...text, ...attachments }).then((res) =>{
console.log(res); console.log(res);
}) })
}, },