🐛 [Bug]: 使用 code configurator,language 为 json,在 snippets 中配置属性值,json 值未回显在 code configurator 中

オープン
#1,206 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
30/100
issue の種類
バグ
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
javascript
領域
frontend

調査の方向性

まず、コードコンフィギュレーターの JSON 言語処理と、snippets プロパティの defaultValue パスを特定します。defaultValue を [] に設定したケースを再現し、空文字列の値の場合と比較します。snippets で設定された JSON プロパティ値が、配列のデフォルト値を含めてコードコンフィギュレーターにレンダリングされれば完了です。

索引モデルが issue の本文から書いたものです。

説明

bug pr welcome
Environment

chrome

Version

latest

Version

latest

Link to minimal reproduction

无

Step to reproduce

无

What is expected

使用 code configurator,language 为 json,在 snippets 中配置属性值,json 值未回显在 code configurator 中,属性配置中的 defaultValue 不能设置为 [],设置为 ‘’ 可以回显

What is actually happening

使用 code configurator,language 为 json,在 snippets 中配置属性值,json 值未回显在 code configurator 中,属性配置中的 defaultValue 不能设置为 [],设置为 ‘’ 可以回显

What is your project name

无

Any additional comments (optional)

defaultValue 不能设置为 []

设置为 ‘’ 可以回显

主要言語
Vue
スター
2.8k
フォーク
482
平均マージ
14日 8時間
マージ済み PR(30日)
1

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

opentiny/tiny-engine のほかの issue

opentiny/tiny-engine の issue をすべて見る

似ている issue

Web Dev の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。