vue 利用mounted函數獲取最新更新的數據

 利用mounted函數獲取最新數據 核心代碼: mounted(){ this.str='你好 世界' this.$nextTick(function(){ console.log(this.$refs.tit.innerHTML) }) }   <!DOCTYPE html> <html> <head> <meta cha
相關文章
相關標籤/搜索