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

I I'm just learning about odoo, I get a blank web after defining a simple dashboard that only contains h1, here is the javascript:

import { registry } from "@web/core/registry";

const actionRegistry = registry.category("actions");

class LibraryDashboard extends owl.Component{ 

setup(){ }};

LibraryDashboard.template = LibraryDashboard;

actionRegistry.add('library_dashboard_tag', LibraryDashboard);


I already ensure that js and the template on manifest file

頭像
捨棄
最佳答案

Make a right click on the mouse and open the inspect, then check the console tab to identify the Javascript related issue in the browser. 

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
2
6月 24
1761
1
3月 23
3393
1
10月 20
3533
1
2月 20
6724
0
7月 19
3274