久久久久久久av_日韩在线中文_看一级毛片视频_日本精品二区_成人深夜福利视频_武道仙尊动漫在线观看

    • <bdo id='5LFPJ'></bdo><ul id='5LFPJ'></ul>

    <small id='5LFPJ'></small><noframes id='5LFPJ'>

    <tfoot id='5LFPJ'></tfoot>

    <legend id='5LFPJ'><style id='5LFPJ'><dir id='5LFPJ'><q id='5LFPJ'></q></dir></style></legend>

    1. <i id='5LFPJ'><tr id='5LFPJ'><dt id='5LFPJ'><q id='5LFPJ'><span id='5LFPJ'><b id='5LFPJ'><form id='5LFPJ'><ins id='5LFPJ'></ins><ul id='5LFPJ'></ul><sub id='5LFPJ'></sub></form><legend id='5LFPJ'></legend><bdo id='5LFPJ'><pre id='5LFPJ'><center id='5LFPJ'></center></pre></bdo></b><th id='5LFPJ'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='5LFPJ'><tfoot id='5LFPJ'></tfoot><dl id='5LFPJ'><fieldset id='5LFPJ'></fieldset></dl></div>
      1. 函數事件(onChange)中的調用函數,來自在 Leaflet 和

        Call function in function event (onChange), from Select created in Leaflet and Vue.js(函數事件(onChange)中的調用函數,來自在 Leaflet 和 Vue.js 中創建的 Select)
          <tbody id='AtMcH'></tbody>

        <small id='AtMcH'></small><noframes id='AtMcH'>

            • <bdo id='AtMcH'></bdo><ul id='AtMcH'></ul>

                  <legend id='AtMcH'><style id='AtMcH'><dir id='AtMcH'><q id='AtMcH'></q></dir></style></legend>

                1. <i id='AtMcH'><tr id='AtMcH'><dt id='AtMcH'><q id='AtMcH'><span id='AtMcH'><b id='AtMcH'><form id='AtMcH'><ins id='AtMcH'></ins><ul id='AtMcH'></ul><sub id='AtMcH'></sub></form><legend id='AtMcH'></legend><bdo id='AtMcH'><pre id='AtMcH'><center id='AtMcH'></center></pre></bdo></b><th id='AtMcH'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='AtMcH'><tfoot id='AtMcH'></tfoot><dl id='AtMcH'><fieldset id='AtMcH'></fieldset></dl></div>
                  <tfoot id='AtMcH'></tfoot>
                  本文介紹了函數事件(onChange)中的調用函數,來自在 Leaflet 和 Vue.js 中創建的 Select的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

                  問題描述

                  限時送ChatGPT賬號..

                  我正在用 Vue.js 和 Leaflet 制作一個應用程序.在這個應用程序中,我在使用 L.DomUtil 創建的傳單中選擇了一個

                  I am making a app in Vue.js and Leaflet. In this app, I have a Select in leaflet created with L.DomUtil

                    this.select = L.DomUtil.create('select','leaflet-countryselect',this.div);
                  

                  我沒有找到在這個選擇"中放置v-on:change"的方法,所以,我必須在 Vue.js 的函數方法中調用一個事件函數.

                  I do not find the way for put 'v-on:change' in this 'Select', so, I have to call a event function, inside to a Function Method in Vue.js.

                   methods: {
                     firstFunction{
                     },
                     secondFunction() {
                        this.select.on('change', function(e){
                             this.firstFunction()
                        }
                     }
                   }
                  

                  但它不起作用,錯誤是this.firstFunction() is not a function"

                  But it not working, the error is "this.firstFunction() is not a function"

                  我試著放了

                     .../
                       var _self = this
                       _self.firstFunction()
                      ../
                  

                  但無論如何都不起作用.

                  But not working, anyway.

                  我該怎么做?謝謝.

                  推薦答案

                  你應該使用箭頭函數 ()=>{...} 來訪問組件實例 this如下:

                  You should use arrow function ()=>{...} to get access to the component instance this as follows :

                        secondFunction() {
                            this.select.on('change', (e)=>{
                              this.firstFunction()
                                }
                          }
                  

                  這篇關于函數事件(onChange)中的調用函數,來自在 Leaflet 和 Vue.js 中創建的 Select的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!

                  【網站聲明】本站部分內容來源于互聯網,旨在幫助大家更快的解決問題,如果有圖片或者內容侵犯了您的權益,請聯系我們刪除處理,感謝您的支持!

                  相關文檔推薦

                  Browserify, Babel 6, Gulp - Unexpected token on spread operator(Browserify,Babel 6,Gulp - 傳播運算符上的意外令牌)
                  Is it possible to pass a flag to Gulp to have it run tasks in different ways?(是否可以將標志傳遞給 Gulp 以使其以不同的方式運行任務?)
                  Why do we need to install gulp globally and locally?(為什么我們需要在全局和本地安裝 gulp?)
                  How to run Gulp tasks sequentially one after the other(如何一個接一個地依次運行 Gulp 任務)
                  Visual Studio 2015 crashes when opening Javascript files(打開 Javascript 文件時 Visual Studio 2015 崩潰)
                  Detect FLASH plugin crashes(檢測 FLASH 插件崩潰)

                    <tbody id='ZH4Y5'></tbody>

                  <legend id='ZH4Y5'><style id='ZH4Y5'><dir id='ZH4Y5'><q id='ZH4Y5'></q></dir></style></legend>

                      • <bdo id='ZH4Y5'></bdo><ul id='ZH4Y5'></ul>
                        <tfoot id='ZH4Y5'></tfoot>
                        • <i id='ZH4Y5'><tr id='ZH4Y5'><dt id='ZH4Y5'><q id='ZH4Y5'><span id='ZH4Y5'><b id='ZH4Y5'><form id='ZH4Y5'><ins id='ZH4Y5'></ins><ul id='ZH4Y5'></ul><sub id='ZH4Y5'></sub></form><legend id='ZH4Y5'></legend><bdo id='ZH4Y5'><pre id='ZH4Y5'><center id='ZH4Y5'></center></pre></bdo></b><th id='ZH4Y5'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='ZH4Y5'><tfoot id='ZH4Y5'></tfoot><dl id='ZH4Y5'><fieldset id='ZH4Y5'></fieldset></dl></div>

                          <small id='ZH4Y5'></small><noframes id='ZH4Y5'>

                          1. 主站蜘蛛池模板: а_天堂中文最新版地址 | 日韩在线视频一区二区三区 | av黄色在线播放 | av免费入口 | 在线观看中文字幕 | 国产欧美一区二区三区久久人妖 | 久久综合成人精品亚洲另类欧美 | 精品国产亚洲一区二区三区大结局 | 国产色片| 亚洲天天干 | 日本成人免费网站 | 国产欧美三区 | 99riav国产一区二区三区 | 欧美在线免费 | 久久久亚洲一区 | 久久久久高清 | 久久aⅴ乱码一区二区三区 亚洲国产成人精品久久久国产成人一区 | 国产精品国产成人国产三级 | 1000部精品久久久久久久久 | av大片 | 一区影院| 国产免费一区二区 | 欧美一区二区久久 | 欧美黄色网络 | 久久久亚洲| 成人综合一区二区 | 正在播放国产精品 | 特级生活片 | 国产偷自视频区视频 | 中文字幕一区在线观看视频 | 精品一区二区观看 | 久久精品久久久久久 | 国产精品久久久久久久久免费高清 | 久久之精品 | 成人在线不卡 | 欧美性另类 | 欧美视频第三页 | a黄毛片 | av大片 | 日韩超碰| 操久久久 |