fix header action
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
new Vue({
|
||||
el: '#app',
|
||||
data: function () {
|
||||
return {
|
||||
attr: '',
|
||||
struct: {
|
||||
...struct,
|
||||
attribute: JSON.parse(struct.attribute)
|
||||
}
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
changeAttr(val) {
|
||||
this.attr = JSON.stringify(val)
|
||||
},
|
||||
}
|
||||
})
|
||||
Reference in New Issue
Block a user