@ -1,6 +1,6 @@
{
"name": "fineui",
"version": "2.0.20220414110543",
"version": "2.0.20220415155328",
"description": "fineui",
"main": "dist/fineui.min.js",
"types": "dist/lib/index.d.ts",
@ -22,12 +22,6 @@ BI.ArrowNode = BI.inherit(BI.NodeButton, {
this.checkbox = BI.createWidget({
type: "bi.arrow_group_node_checkbox"
});
this.checkbox.on(BI.Controller.EVENT_CHANGE, function (type) {
if (type === BI.Events.CLICK) {
self.setSelected(self.isSelected());
}
self.fireEvent(BI.Controller.EVENT_CHANGE, arguments);
return {
type: "bi.vertical_adapt",
columnSize: [o.iconWrapperWidth || o.height, "fill"],
@ -3126,6 +3126,7 @@
BI.RouterWidget = BI.inherit(BI.Widget, {
init: function () {
this.$router = this._router = BI.Router.$router = $router = new VueRouter({
mode: this.options.mode,
routes: this.options.routes
this.$router.beforeEach(function (to, from, next) {
@ -36,11 +36,17 @@ module.exports = merge(common, {
output: {
path: dirs.DEST,
filename: "[name].js",
publicPath: '/',
},
devServer: {
contentBase: path.join(__dirname, ".."),
port: 9001,
liveReload: true,
historyApiFallback: {
rewrites: [
{ from: /.*/, to: '/index.html' },
],
plugins: [
new MiniCssExtractPlugin({