update 完成房屋详情编辑的第一个页签

This commit is contained in:
2021-05-14 21:43:20 +08:00
parent c08128cc0f
commit 7c0b4f37af
28 changed files with 3067 additions and 168 deletions

View File

@@ -1,4 +1,4 @@
import { ArrayBufferToBase64 } from '@/util/file'
import { PreviewFileBase64 } from '@/util/file'
export default {
props: {
@@ -31,11 +31,9 @@ export default {
methods: {
getSrc() {
return this.$api.sysFileInfoPreview({ id: this.id }).then(async ({ data }) => {
const base64 = await ArrayBufferToBase64(data)
return base64
})
async getSrc() {
const base64 = await PreviewFileBase64(this.id)
return base64
}
},