提交 1ae5bce3 编写于 作者: Q qiang

fix: chooseImage path

上级 77445489
......@@ -55,7 +55,7 @@ export function chooseImage ({
for (let i = 0; i < fileCount; i++) {
const file = event.target.files[i]
let filePath
Object.defineProperty(file, 'filePath', {
Object.defineProperty(file, 'path', {
get () {
filePath = filePath || fileToUrl(file)
return filePath
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册