Element: [Feature Request] How to update data in table?

Created on 9 Aug 2017  ·  3Comments  ·  Source: ElemeFE/element

Existing Component

Yes

Component Name

table

Description

I'm new to Vue.js and Element UI.
I wonder following questions:

How to update data in Vue?

export default {
      data() {
        return {
          tableData: [{}]
        }
     }
}

How can I change the value of tableData?

And how to load tableData with an async request?

Most helpful comment

All 3 comments

How can I access the variable: tableData?
I cannot find it in this variable.

Please read Vue docs thoroughly before using it in an actual project.

Was this page helpful?
0 / 5 - 0 ratings