|
@ -3,7 +3,7 @@ |
|
|
<!-- #ifdef H5 --> |
|
|
<!-- #ifdef H5 --> |
|
|
<view |
|
|
<view |
|
|
class="content" |
|
|
class="content" |
|
|
style="border-radius: 8px;" |
|
|
style="border-radius: 8px" |
|
|
id="project" |
|
|
id="project" |
|
|
:data-did="task.detailId" |
|
|
:data-did="task.detailId" |
|
|
:data-param="param" |
|
|
:data-param="param" |
|
@ -86,7 +86,7 @@ export default { |
|
|
if (err) { |
|
|
if (err) { |
|
|
console.error('err: ', err); |
|
|
console.error('err: ', err); |
|
|
} else { |
|
|
} else { |
|
|
if (!res || !res.id) return; |
|
|
if (!res) return; |
|
|
if (res.html && res.js) { |
|
|
if (res.html && res.js) { |
|
|
this.show = true; |
|
|
this.show = true; |
|
|
this.$nextTick(() => { |
|
|
this.$nextTick(() => { |
|
@ -98,6 +98,7 @@ export default { |
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
|
init(res) { |
|
|
init(res) { |
|
|
|
|
|
console.log('res: ', res); |
|
|
const content = document.querySelector('.content'); |
|
|
const content = document.querySelector('.content'); |
|
|
content.innerHTML = res.html; |
|
|
content.innerHTML = res.html; |
|
|
|
|
|
|
|
|