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