liyongli 2 년 전
부모
커밋
c2beaf19e6
2개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 0
      src/view/allMedia/AIeditor/components/dictionary.vue
  2. 1 1
      src/view/allMedia/AIeditor/index.vue

+ 1 - 0
src/view/allMedia/AIeditor/components/dictionary.vue

@@ -82,6 +82,7 @@ const search = () => {
   })
     .then(r => {
       console.log(r);
+      oriD.value = r;
       is_status.value = 'none';
       oriD.value.bushou && (activeName.value = '基本解释');
       !oriD.value.pinyin ? (oriD.value.find = 2) : (oriD.value.find = 0);

+ 1 - 1
src/view/allMedia/AIeditor/index.vue

@@ -374,7 +374,7 @@ const getSidFun = () => {
   });
 };
 
-!localStorage.getItem('fileId') && getSidFun();
+getSidFun();
 
 const toolbarConfig = {
   toolbarKeys: [