Commit Graph

140 Commits

Author SHA1 Message Date
万纯
6f6bf341dd feat: 优化plugin-access和plugin-layout
plugin-access:
1. 添加<Access />组件控制权限
2. 添加v-access指令控制权限
3. 权限的范围改为role和accesId的并集

plugin-layout:
1. 判断是否加载locale插件改为使用api.hasPlugins
2. 提示优化
2021-01-14 12:56:31 +08:00
万纯
c91d0b5845 feat: 添加api.copyTmpFiles
plugin建议把运行时代码写在runtime目录,然后通过api.copyTmpFiles复制至项目的.fes/plugin-name目录
2021-01-12 20:19:14 +08:00
万纯
efeee56c8e feat: layout的userCenter改为customHeader 2021-01-12 17:36:00 +08:00
万纯
9eb0704c8e feat: plugin-layout支持mixin布局 2021-01-08 18:57:54 +08:00
bac-joker
c2e230f784 Merge branch 'vue3' of https://github.com/WeBankFinTech/fes.js into vue3 2021-01-07 16:31:49 +08:00
bac-joker
6c95da8fd8 feat: 添加初始化项目cli 2021-01-07 16:31:38 +08:00
万纯
a5bfd009d3 feat: layout支持side和top两种布局模式,两种模式支持fixedHeader和fixedSideBar 2021-01-06 19:50:10 +08:00
万纯
4eb8257f43 feat: 2.0.0-alpha 比 2.0.0 更早,所以当版本是alpha时,需要指定为2.0.0-alpha.0 2021-01-06 15:45:10 +08:00
万纯
bb81f11766 feat: plugin-layou实现从rootContainer改为在根路由插入公共布局
好处:
1、布局组件涉及到router-view,需要包裹住router-view,跟rootContainer的默认参数冲突
2、布局组件的内容应该是rootContainer的最底层,但是由于rootContainer的机制,插件循序影响dom结构层级。不能保证布局的内容属于最底层
2021-01-06 15:33:21 +08:00
万纯
4bcca52682 feat: layout的multiTabs模式时支持刷新当前页面 2021-01-05 20:56:03 +08:00
万纯
6eb4bdd050 feat: layout支持multiTabs参数 2021-01-05 16:18:39 +08:00
万纯
1746696472 fix: openShared to getShared 2021-01-05 11:26:20 +08:00
万纯
aab55688be feat: plugin提供share机制,重新实现layout和locale的结合 2021-01-05 11:16:34 +08:00
bac-joker
db6d1d7215 chore(release): publish 2021-01-05 10:26:57 +08:00
bac-joker
a9baf642c9 feat: package.json 添加 access public 2021-01-05 10:26:19 +08:00
bac-joker
ea954e3bb6 chore(release): publish 2021-01-05 10:00:07 +08:00
bac-joker
bbb75cd44d build: change build command 2021-01-05 09:59:28 +08:00
bac-joker
94283a338f feat: change lerna.json version 2021-01-04 21:30:48 +08:00
bac-joker
7008224805 feat: 规范版本号 2021-01-04 21:28:50 +08:00
bac-joker
646a5213c6 feat: 规范版本号 2021-01-04 21:19:11 +08:00
bac-joker
0abe1885aa build: change release 2021-01-04 21:00:09 +08:00
bac-joker
f233da8c9b feat: 规范package.json 2021-01-04 20:32:44 +08:00
万纯
d23f22f631 feat: plugin-layout在有locale时显示语言选项 2021-01-04 10:18:43 +08:00
万纯
f01538ba8b feat: 切换语言 2020-12-31 16:10:30 +08:00
万纯
48c1234725 feat: singular默认为复数,false! 2020-12-31 14:18:47 +08:00
万纯
60cdf2fbec feat: 国际化 2020-12-31 12:59:11 +08:00
bac-joker
297b48503d fix: request plugin 2020-12-30 14:25:14 +08:00
bac-joker
2ee1b659a0 feat: 优化 request 插件 2020-12-29 21:27:26 +08:00
bac-joker
8280e5f3a9 feat: 优化 request 插件 2020-12-29 17:44:55 +08:00
bac-joker
552bc4e9ad feat: pages > page and h5 scroll 2020-12-27 19:57:02 +08:00
bac-joker
5beef07281 fix: 监听icons文件夹变更,进行重新编译 2020-12-25 20:49:29 +08:00
bac-joker
9b52d18b19 fix: 监听icons文件夹变更,进行重新编译 2020-12-25 20:48:57 +08:00
bac-joker
d574db15b8 feat: 新增icon的能力 2020-12-25 20:41:48 +08:00
bac-joker
e92769aa7d fix: 完善h5脚手架 2020-12-25 10:23:31 +08:00
bac-joker
2f4d1bb646 fix: 热更新问题 2020-12-23 21:18:51 +08:00
bac-joker
1cacc40ff1 fix: some build problem 2020-12-23 15:52:22 +08:00
bac-joker
d2b91cce94 Merge branch 'vue3' of https://github.com/WeBankFinTech/fes.js into vue3 2020-12-22 19:39:09 +08:00
bac-joker
fbdf5cd701 feat: 添加h5模版 2020-12-22 19:38:50 +08:00
万纯
72db4e8ecd feat: plugin-locale 3% 2020-12-22 19:31:25 +08:00
万纯
d8259ba17a fix: 修复initalState问题 2020-12-22 18:58:27 +08:00
万纯
97c7739d02 feat: plugin-access的运行时配置改为access 2020-12-22 18:14:26 +08:00
万纯
3e44f41933 Merge branch 'vue3' of https://github.com/WeBankFinTech/fes.js into vue3 2020-12-22 17:55:02 +08:00
万纯
0a709907bf feat: plugin-layout 2020-12-22 17:54:46 +08:00
bac-joker
9398e89822 fix: request plugin 剔除对组件库的依赖 2020-12-22 15:29:29 +08:00
bac-joker
21f4f66504 feat: rename Config to config 2020-12-19 16:31:12 +08:00
bac-joker
c742237d3a feat: rename Service to service 2020-12-19 16:27:58 +08:00
bac-joker
248b0b93a4 feat: 文件大小写 2020-12-19 16:11:37 +08:00
bac-joker
442daebe6b feat: 添加插件集 2020-12-19 15:59:38 +08:00
万纯
76078684a4 feat: plugin-layout init 2020-12-18 18:23:00 +08:00
万纯
8103071168 feat: access and model done 2020-12-17 16:54:50 +08:00