brvphoenix/luci-app-wrtbwmon

兼容性不好

Closed this issue · 1 comments

用的是
https://github.com/coolsnowwolf/lede的OP, 2.0的IPK装上,直接报lua错误 打不开
改用1.6版本,可以打开 ,但是少引入了一个JS,参考:
openwrt/luci#3716 加上后,样式也不正常, 感觉是样式名为 table-titles 等没定义导致的

The version 2.0 has converted to js api for client-side rendering. Some non-official openwrt forks have no support for js api , for example, coolsnowwolf's fork, and will not been compatible until they have updated the LuCI source to the official version up to 19.07.x.

You can refer to the official LuCI source for more information.

Besides, the cbi.js has been included in the header.htm for all official theme. I have verified that it has no compatible issues with the official release both 18.06.x and 19.07.x.

I can't guarantee it is compatible with all the non-official releases. However, you can modified the source yourself. Submitting a PR is also welcomed.