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

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
5595
2
3月 21
3777
2
3月 21
8849
0
12月 20
3635
0
1月 20
2243