Commit 9eb81d36 by zhangmengjie

23.4.12

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