跳至內容
選單
此問題已被標幟
1 回覆
2151 瀏覽次數

I need a JavaScript example / method to reload point_of_sale if POS session state is closed.

For example, if (this.env.pos.pos_session.state == 'closed')

reload()

any help will be greatly appreciated.



頭像
捨棄
最佳答案

Hi,


Try this 

if (this.env.pos.pos_session.state === 'closed') {

    window.location.reload();

}


Hope it helps


頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
0
8月 23
3059
1
5月 25
8359
0
4月 15
6598
0
11月 23
38
1
11月 23
1716