Why the addone button is lost when I enable panel code?
问题 Once the require("sdk/panel").Panel code is enabled, I cannot find the addone button, even cannot find it in customize page, what's wrong? var buttons = require('sdk/ui/button/action'); var tabs = require("sdk/tabs"); var data = require("sdk/panel").data; // var okentry=require("sdk/panel").Panel({ // contentURL: data.url("okentry.html"), // contentScriptFile: data.url("okentry.js") // }); var button = buttons.ActionButton({ id: "test-panel", label: "ok", icon: { "16": "./icon-16.png", "32":