victor 发表于 2021-11-24 09:56:22

请问是否有Element UI 通用组件的示例。

Vue Template 、 Vue App、Vue css 具体要怎么写 。

小手冰冰凉 发表于 2021-11-24 10:03:10

https://www.o2oa.net/course/mlv209.html
https://www.o2oa.net/course/cf5r3h.html
https://www.o2oa.net/course/uam3h2.html
这三篇是讲vue在o2oa中的使用。
elementUI的文档暂时没看到。

victor 发表于 2021-11-24 10:42:19

感谢回复,我目前在 门户管理 -> 页面编辑 -> 添加 Element UI 通用组件。

在 Vue Template 中写入 Element UI 组件可以正常显示。



<template>
        <el-tag>Hello o2oa</el-tag>
</template>



但不知道如何可以绑定数据:



<template>
        <el-tag>{{msg}}</el-tag>
</template>

<script>
        export default {
      name:'Hello O2OA',
      data(){
            return {
                msg:"Hello O2OA"
            }
      }
    }
</script>



请问脚本应该写在什么地方。


论坛管理员 发表于 2021-11-24 11:07:21

victor 发表于 2021-11-24 10:42
感谢回复,我目前在 门户管理 -> 页面编辑 -> 添加 Element UI 通用组件。

在 Vue Template 中写入 Elemen ...



您好:请参考

victor 发表于 2021-11-24 11:24:19

论坛管理员 发表于 2021-11-24 11:07
您好:请参考

非常感谢,可以了。

论坛管理员 发表于 2021-11-24 12:27:51

victor 发表于 2021-11-24 11:24
非常感谢,可以了。

:handshake
页: [1]
查看完整版本: 请问是否有Element UI 通用组件的示例。