askbot-dragon 1.7.68-beta → 1.7.71-beta

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,6 +1,6 @@
1
1
  {
2
2
  "name": "askbot-dragon",
3
- "version": "1.7.68-beta",
3
+ "version": "1.7.71-beta",
4
4
  "scripts": {
5
5
  "serve": "vue-cli-service serve",
6
6
  "build": "vue-cli-service build",
@@ -33,6 +33,7 @@
33
33
  "vue-markdown": "^2.2.4",
34
34
  "eslint-plugin-vue": "^6.2.2",
35
35
  "less": "^3.12.2",
36
+ "highlight.js": "^11.11.1",
36
37
  "less-loader": "^7.0.2",
37
38
  "vue-template-compiler": "^2.6.11",
38
39
  "vue-i18n": "^8.26.4"
@@ -41,8 +41,8 @@
41
41
  <script>
42
42
  /* eslint-disable */
43
43
  import VueMarkdown from 'vue-markdown';
44
- import ImgView from "@/components/imgView";
45
- import Typed from "typed.js";
44
+ import ImgView from "./imgView";
45
+ // import Typed from "typed.js";
46
46
  import hljs from 'highlight.js';
47
47
  import 'highlight.js/styles/default.css';
48
48
  const marked = require("marked")
@@ -226,20 +226,20 @@ export default {
226
226
  },
227
227
  // 打字效果已在MarkdownText文件中处理
228
228
  typeNewWriter(text, keyId, msg) {
229
- setTimeout(() => {
230
- let ref = 'msgTyped' + keyId;
231
- const el = this.$refs[ref][0];
232
- new Typed(el, {
233
- strings: [text],
234
- typeSpeed: 15,
235
- showCursor: false,
236
- onComplete: () => {
237
- msg.isHistory = true
238
- this.$emit('openFirstPreview', msg)
239
- this.typingSuccess()
240
- },
241
- })
242
- }, 500)
229
+ // setTimeout(() => {
230
+ // let ref = 'msgTyped' + keyId;
231
+ // const el = this.$refs[ref][0];
232
+ // new Typed(el, {
233
+ // strings: [text],
234
+ // typeSpeed: 15,
235
+ // showCursor: false,
236
+ // onComplete: () => {
237
+ // msg.isHistory = true
238
+ // this.$emit('openFirstPreview', msg)
239
+ // this.typingSuccess()
240
+ // },
241
+ // })
242
+ // }, 500)
243
243
  },
244
244
  handleScroll() {
245
245
  console.log("this.isManualScroll = true;");