跳至内容
菜单
此问题已终结
1 回复
1498 查看

This is not exactly a question, but more of an answer, because I can't seem to find details on the documentations regarding this scenario.


The example is based on the tutorial on Odoo's documentation


card.xml


How to add the slots would be:

export class Card extends Component {
static template = "awesome_owl.card";
static props = {
title: String,
slots: {
type: Object,
shape: {
default: true,
second: {
type: true,
optional: true,
},
}
}
}
}



形象
丢弃
相关帖文 回复 查看 活动
1
5月 24
2005
2
7月 25
479
0
1月 25
897
0
12月 24
1679
0
9月 24
908