Commit 1f410829 authored by “yiyousong”'s avatar “yiyousong”

pref:修改应用图片、视频预览

parent d6ef12fa
...@@ -99,8 +99,8 @@ ...@@ -99,8 +99,8 @@
></AddData> ></AddData>
<!-- 预览 --> <!-- 预览 -->
<PrevieModal <PrevieModal
:previeVisible.sync="previeVisible" :previewVisible.sync="previewVisible"
:previeData="previeData" :previewData="previewData"
></PrevieModal> ></PrevieModal>
</div> </div>
</template> </template>
...@@ -139,8 +139,8 @@ export default { ...@@ -139,8 +139,8 @@ export default {
AddVisible: false, AddVisible: false,
title: "", title: "",
fieldCode: "", fieldCode: "",
previeVisible: false, previewVisible: false,
previeData: {}, // 预览信息 previewData: {}, // 预览信息
}; };
}, },
computed: { computed: {
...@@ -274,11 +274,11 @@ export default { ...@@ -274,11 +274,11 @@ export default {
}, },
// 预览 // 预览
handlePreview(type, url) { handlePreview(type, url) {
this.previeData = { this.previewData = {
type, type,
url, url,
}; };
this.previeVisible = true; this.previewVisible = true;
}, },
}, },
}; };
......
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