Commit 9eb81d36 by zhangmengjie

23.4.12

parent 7771ff31
......@@ -114,18 +114,18 @@ export default {
particularsGET({ id: val }).then((res) => {
if (res.code == 200) {
this.$nextTick(() => {
if (res.data.videoList != null) {
if (res.data.videoList && res.data.videoList.length) {
self.video = res.data.videoList[0].url
console.log(self.particulars.video,'self.particulars.video')
} else {
self.particulars.video = ''
self.video = ''
}
if (res.data.voiceList != null) {
if (res.data.voiceList && res.data.voiceList.length) {
// this.idt = require(res.data.voiceList[0].url)
this.$refs.audio.src = res.data.voiceList[0].url
// self.idt =
} else {
self.idt = ''
this.$refs.audio.src = ''
}
if (res.data.repairTime != null) {
res.data.repairTime = res.data.repairTime.slice(0, 10)
......
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