問題タブ [vue-select]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
vuejs2 - Vue-Select: :options への 2 次元配列のプッシュ
プラグインVue-Select。
私がやろうとしていたのは、データベースに基づいて検索選択ドロップダウン入力を作成することです。
これが最初にMs_Location という名前の SQL です。
私のindex.php
これが私のreceive_lokasi.phpです
ただし、表示されるオプションを取得できないようです。これは、 get_lokasi()を作成した後にのみ発生します。間違いはおそらくそこにありますか?あるいは、何かが欠けていたのかもしれません。
lokasi_list をどこかに印刷しようとしましたが、はい、値はそこにありますが、ドロップダウン バーには表示されません。
また、私は Vue を初めて使用するので、どんな助けも役に立ちます。ありがとう!