久久久久久久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. 函數(shù)事件(onChange)中的調(diào)用函數(shù),來自在 Leaflet 和

        Call function in function event (onChange), from Select created in Leaflet and Vue.js(函數(shù)事件(onChange)中的調(diào)用函數(shù),來自在 Leaflet 和 Vue.js 中創(chuàng)建的 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>
                  本文介紹了函數(shù)事件(onChange)中的調(diào)用函數(shù),來自在 Leaflet 和 Vue.js 中創(chuàng)建的 Select的處理方法,對(duì)大家解決問題具有一定的參考價(jià)值,需要的朋友們下面隨著小編來一起學(xué)習(xí)吧!

                  問題描述

                  限時(shí)送ChatGPT賬號(hào)..

                  我正在用 Vue.js 和 Leaflet 制作一個(gè)應(yīng)用程序.在這個(gè)應(yīng)用程序中,我在使用 L.DomUtil 創(chuàng)建的傳單中選擇了一個(gè)

                  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);
                  

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

                  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()
                        }
                     }
                   }
                  

                  但它不起作用,錯(cuò)誤是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.

                  我該怎么做?謝謝.

                  推薦答案

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

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

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

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

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

                  相關(guān)文檔推薦

                  Browserify, Babel 6, Gulp - Unexpected token on spread operator(Browserify,Babel 6,Gulp - 傳播運(yùn)算符上的意外令牌)
                  Is it possible to pass a flag to Gulp to have it run tasks in different ways?(是否可以將標(biāo)志傳遞給 Gulp 以使其以不同的方式運(yùn)行任務(wù)?)
                  Why do we need to install gulp globally and locally?(為什么我們需要在全局和本地安裝 gulp?)
                  How to run Gulp tasks sequentially one after the other(如何一個(gè)接一個(gè)地依次運(yùn)行 Gulp 任務(wù))
                  Visual Studio 2015 crashes when opening Javascript files(打開 Javascript 文件時(shí) Visual Studio 2015 崩潰)
                  Detect FLASH plugin crashes(檢測(cè) 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资源在线看 | 久久1区| 视频一二区 | 亚洲色综合| 精品国产欧美日韩不卡在线观看 | 日本三级精品 | 日本黄色大片免费 | 欧美日韩亚洲国产 | 国产高清免费 | 亚洲一区二区免费视频 | 亚洲国产成人在线视频 | 欧美成人一级视频 | 日本超碰在线 | 欧美二区在线 | 欧美黑人一级爽快片淫片高清 | 99精品视频在线 | 午夜久久久久久久久久一区二区 | 国产日韩av一区二区 | 欧美一区不卡 | 亚洲视频在线免费观看 | 美日韩一区二区 | 亚洲一区二区在线播放 | 国产日韩视频在线 | 国产欧美精品一区二区 | 欧美一区二区三区,视频 | 久久艹免费视频 | av在线视 | av毛片| 日韩亚洲一区二区 | 精品三级 | 久草免费在线视频 | 亚洲高清视频一区二区 | 福利片在线观看 | 日韩成人在线视频 | 香蕉久久a毛片 | www.中文字幕.com |