欢迎访问 生活随笔!

生活随笔

当前位置: 首页 > 前端技术 > vue >内容正文

vue

easyui模版html,EasyUI 模板(Template)_Vue EasyUI Demo

发布时间:2023/12/9 vue 39 豆豆
生活随笔 收集整理的这篇文章主要介绍了 easyui模版html,EasyUI 模板(Template)_Vue EasyUI Demo 小编觉得挺不错的,现在分享给大家,帮大家做个参考.

源代码

Template

{{scope.node.id}} - {{scope.node.text}}

Selected: {{selection.text}}

export default {

data() {

return {

selection: null,

data: this.getData()

};

},

methods: {

getData() {

return [

{

id: 1,

text: "My Documents",

children: [

{

id: 11,

text: "Photos",

state: "closed",

children: [

{

id: 111,

text: "Friend"

},

{

id: 112,

text: "Wife"

},

{

id: 113,

text: "Company"

}

]

},

{

id: 12,

text: "Program Files",

children: [

{

id: 121,

text: "Intel"

},

{

id: 122,

text: "Java"

},

{

id: 123,

text: "Microsoft Office"

},

{

id: 124,

text: "Games"

}

]

},

{

id: 13,

text: "index.html"

},

{

id: 14,

text: "about.html"

},

{

id: 15,

text: "welcome.html"

}

]

}

];

}

}

};

总结

以上是生活随笔为你收集整理的easyui模版html,EasyUI 模板(Template)_Vue EasyUI Demo的全部内容,希望文章能够帮你解决所遇到的问题。

如果觉得生活随笔网站内容还不错,欢迎将生活随笔推荐给好友。