跳至內容
選單
此問題已被標幟
2918 瀏覽次數

Hi, 

I know that we can use <span class="page"/>  in order to display actual page number,

but I need to set an actual page in a variable to use it in a if statement:


<t t-if="actual_page_num == 2">

        Display something ...

</t>


Any idea how to manage it? Thank you.



頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
2
10月 22
5760
2
3月 21
3903
2
3月 21
9026
0
12月 20
3806
0
1月 20
2385