liyongli 2 rokov pred
rodič
commit
c2beaf19e6

+ 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: [