Explorar o código

intp 百度汉语音频取消

qinpeng %!s(int64=2) %!d(string=hai) anos
pai
achega
788b886281
Modificáronse 2 ficheiros con 4 adicións e 3 borrados
  1. 3 3
      src/components/Adult/preview/components/Intp.vue
  2. 1 0
      vue.config.js

+ 3 - 3
src/components/Adult/preview/components/Intp.vue

@@ -198,9 +198,9 @@ export default {
               if (itemss.key == "pronunciation") {
                 // 音频
 
-                _this.word.mp3Url = itemss.objects[0]["@value"]
-                  ? itemss.objects[0]["@value"]
-                  : "";
+                // _this.word.mp3Url = itemss.objects[0]["@value"]
+                //   ? itemss.objects[0]["@value"]
+                //   : "";
               } else if (itemss.key == "definition") {
                 // 释义
                 _this.paraphrase = itemss.objects;

+ 1 - 0
vue.config.js

@@ -45,6 +45,7 @@ module.exports = {
       [process.env.VUE_APP_BASE_API]: {
         // target: `https://gcls.utschool.cn/`,
         target: `https://gcls.helxsoft.cn/`,
+        // target: `https://chinesedu.blcup.com/`,
         changeOrigin: true,
         pathRewrite: {
           ['^' + process.env.VUE_APP_BASE_API]: ''