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

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
5623
2
3月 21
3793
2
3月 21
8875
0
12月 20
3665
0
1月 20
2268