chengjie il y a 4 mois
Parent
commit
a988e79a01
1 fichiers modifiés avec 14 ajouts et 0 suppressions
  1. 14 0
      public/mg/yjbdc_articles.html

+ 14 - 0
public/mg/yjbdc_articles.html

@@ -433,6 +433,20 @@
433 433
                         </template>
434 434
                     </span>
435 435
                 </div>
436
+                <div class="json-node">
437
+                    <span class="json-key">单词来源:</span>
438
+                    <span class="json-string editable"
439
+                        @dblclick="editValue(selectedArticle, 'WordSource', 'WordSource')">
440
+                        <template v-if="editingKey === 'WordSource'">
441
+                            <input type="text" class="json-editor-input"
442
+                                v-model="selectedArticle.WordSource" @blur="finishEdit" @keyup.enter="finishEdit"
443
+                                v-focus>
444
+                        </template>
445
+                        <template v-else>
446
+                            "{{ selectedArticle.WordSource }}"
447
+                        </template>
448
+                    </span>
449
+                </div>
436 450
                 <div class="json-node">
437 451
                     <span class="json-key">创建时间:</span>
438 452
                     <span class="json-string editable"