askbot-dragon 1.3.56 → 1.3.58
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1,7 +1,21 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div class="answer-docknowledge">
|
|
3
|
-
<div v-if="msg.content.type == 0" class="answer-text">
|
|
4
|
-
|
|
3
|
+
<div v-if="msg.content.type == 0" class="answer-text">
|
|
4
|
+
<template v-if="msg.content.renderType == 1">
|
|
5
|
+
<p v-html="msg.content.text"></p>
|
|
6
|
+
</template>
|
|
7
|
+
<template v-else>
|
|
8
|
+
{{ msg.content.text }}
|
|
9
|
+
</template>
|
|
10
|
+
</div>
|
|
11
|
+
<div v-if="msg.content.type == 1" class="answer-text">
|
|
12
|
+
<template v-if="msg.content.renderType == 1">
|
|
13
|
+
<p v-html="msg.content.text"></p>
|
|
14
|
+
</template>
|
|
15
|
+
<template v-else>
|
|
16
|
+
{{ msg.content.text }}
|
|
17
|
+
</template>
|
|
18
|
+
</div>
|
|
5
19
|
<div class="ad-list">
|
|
6
20
|
<div v-for="(item, itemIndex) in msg.content.list" :style="{paddingBottom: itemIndex === msg.content.list.length - 1?0:'10px'}" :key="itemIndex" class="ad-list-cell">
|
|
7
21
|
<div class="alc-title">
|
|
@@ -221,10 +235,10 @@ export default {
|
|
|
221
235
|
headers: {
|
|
222
236
|
"Content-Type": "application/json",
|
|
223
237
|
},
|
|
224
|
-
}).then(
|
|
225
|
-
|
|
238
|
+
}).then( res => {
|
|
239
|
+
console.log(res,'=====');
|
|
226
240
|
// imgurl = await res.bodyText
|
|
227
|
-
this.$set(item,'expiredUrl',res.bodyText)
|
|
241
|
+
this.$set(item,'expiredUrl',res.data ? res.data : res.bodyText)
|
|
228
242
|
// return res.data
|
|
229
243
|
})
|
|
230
244
|
// return imgurl
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
<i class="iconfont guoran-shanchu"></i>
|
|
7
7
|
</section>
|
|
8
8
|
</div>
|
|
9
|
-
<template v-if="tagIds">
|
|
9
|
+
<template v-if="tagIds && tagIds.length != 0">
|
|
10
10
|
<pdfPosition :tagIds="tagIds"></pdfPosition>
|
|
11
11
|
</template>
|
|
12
12
|
<template v-else>
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
<i class="iconfont guoran-shanchu"></i>
|
|
44
44
|
</section>
|
|
45
45
|
</div>
|
|
46
|
-
<template v-if="tagIds">
|
|
46
|
+
<template v-if="tagIds && tagIds.length != 0">
|
|
47
47
|
<pdfPosition :tagIds="tagIds"></pdfPosition>
|
|
48
48
|
</template>
|
|
49
49
|
<template v-else>
|