{"id":88785,"date":"2020-05-02T23:42:05","date_gmt":"2020-05-02T15:42:05","guid":{"rendered":"http:\/\/4563.org\/?p=88785"},"modified":"2020-05-02T23:42:05","modified_gmt":"2020-05-02T15:42:05","slug":"%e8%af%b7%e6%95%99%e4%b8%80%e4%b8%aa-vue-select-%e9%87%8c%e9%9d%a2%e5%8a%a8%e6%80%81%e8%ae%be%e5%80%bc%e7%9a%84%e9%97%ae%e9%a2%98","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=88785","title":{"rendered":"\u8bf7\u6559\u4e00\u4e2a vue select \u91cc\u9762\u52a8\u6001\u8bbe\u503c\u7684\u95ee\u9898"},"content":{"rendered":"<div>\n<div>\n<div>\n<h1>                  \u8bf7\u6559\u4e00\u4e2a vue select \u91cc\u9762\u52a8\u6001\u8bbe\u503c\u7684\u95ee\u9898               <\/h1>\n<p> <\/p>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : Colorful <\/span>  <span><i><\/i> 13<\/span> <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<\/p><\/div>\n<div isfirst=\"1\"> <\/p>\n<p>\u8fd9\u662f\u4ee3\u7801<\/p>\n<p>   &lt;select v-model=&#8221;item[index]&#8221; @change=&#8217;select(item,index,event)&#8217;&gt; &lt;option v-for=&#8221;(t,j) in item.valarr&#8221; :value=&#8221;t&#8221; :key=&#8221;j&#8221;&gt;{{t}}&lt;\/option&gt; &lt;\/select&gt;       <\/p><\/div>\n<div> <b>\u5927\u4f6c\u6709\u8a71\u8aaa<\/b> (<span>6<\/span>)        <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<ul>\n<li data-pid=\"1310747\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : SilentDepth <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u8fd9\u4e2a code block \u9605\u8bfb\u4f53\u9a8c\u771f\u7684\u662f\u2026\u2026                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1310748\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : SilentDepth <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             &lt;select&gt; \u7684 model \u7ed1\u5b9a\u4e86 item[index]\uff0c\u90a3\u4e48\u8ba9\u8fd9\u4e2a\u72b6\u6001\u6709\u9ed8\u8ba4\u503c\u5c31\u884c\u4e86                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1310749\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : Colorful <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @SilentDepth \u6211\u6ca1\u592a\u7406\u89e3\uff0c\u600e\u4e48\u8bbe\u7f6e\u90a3\u4e2a\u9ed8\u8ba4\u72b6\u6001                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1310750\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : Colorful <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @SilentDepth \u627e\u5230\u95ee\u9898\u5728\u54ea\u4e86\uff0c\u8c22\u8c22\u4e86                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1310751\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : SilentDepth <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             &lt;select v-model=&#8221;selVal&#8221;&gt;<\/p>\n<p>data: { selVal: &#8216;whatever&#8217; }<\/p>\n<p>\u8fd9\u6837 &lt;select&gt; \u7684\u9ed8\u8ba4\u503c\u5c31\u88ab\u8bbe\u5b9a\u4e3a &#8220;whatever&#8221;\u3002                                                            <\/p><\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1310752\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : Colorful <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @SilentDepth \u8fd9\u4e2a\u6211\u77e5\u9053\uff0c\u73b0\u5728\u7406\u89e3\u4e86\u52a8\u6001\u7ed1\u5b9a\u662f\u600e\u4e48\u6837\u7684\u4e86                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li>\n","protected":false},"excerpt":{"rendered":"<p>\u8bf7\u6559\u4e00\u4e2a vue select \u91cc&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[],"tags":[],"_links":{"self":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/88785"}],"collection":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=88785"}],"version-history":[{"count":0,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/88785\/revisions"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=88785"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=88785"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=88785"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}