Open bajian opened 7 years ago
@bajian Many thanks. Will check it when I have enough time.
@bajian I've just look at your PR, but I cannot reproduce your error. The code is still working as expected.
@ratiw maybe the api document.querySelectorAll
is incompatible with all the browser
as:
document.querySelectorAll
Returns a NodeList representing a list of elements with the current element as root that matches the specified group of selectors.
Although NodeList is not an Array, it is possible to iterate on it using forEach(). Several older browsers have not implemented this method yet.
reference: https://developer.mozilla.org/en-US/docs/Web/API/ParentNode/querySelectorAll https://developer.mozilla.org/en-US/docs/Web/API/NodeList http://stackoverflow.com/questions/41054259/how-can-i-make-queryselectorall-or-foreach-work-in-firefox
What browser do you use that causes this error?
I am a Chinese,so I use the 360极速浏览器.... http://chrome.360.cn/ it is a browser with webkit...like chrome I have not tried the code in other browser yet
@ratiw I have tried it in Microsoft Edge 38.14393.0.0 in WIN10,and got the same error
@ratiw can you please check this broken link on here
?
For more detail on how to access the selected row, see here.
I'm trying to find how to access the selected row(s).
@dukadin Sorry, it is intended to be linked to the documentation, but I'm not able to work on it yet.
You can open a new issue for your problem. If it doesn't take too much time, I'll try to help or guide you through it.
i follow the tutorial and set :
got: vue.common.js?c3c9:521[Vue warn]: Error when rendering component at X:\Users\bajian\Desktop\code\vuetable-2-tutorial\node_modules.1.3.0@vuetable-2\src\components\Vuetable.vue:
vue.common.js?c3c9:435TypeError: els.forEach is not a function(…)
meanwhile, where is
I cannot find anywhere to access the selected
the complete code