mooho-base-admin-plus 0.4.82 → 0.4.83

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "mooho-base-admin-plus",
3
3
  "description": "MOOHO basic framework for admin by Vue3",
4
- "version": "0.4.82",
4
+ "version": "0.4.83",
5
5
  "author": "jinyifan <jinyifan@mooho.com.cn>",
6
6
  "dotnetVersion": "1.4.0",
7
7
  "license": "MIT",
@@ -10,9 +10,7 @@
10
10
  "scripts": {
11
11
  "dev": "vite --open",
12
12
  "build": "vite build",
13
- "package": "vite build --mode lib",
14
- "styleguide": "vue-styleguidist server",
15
- "styleguide:build": "vue-styleguidist build"
13
+ "package": "vite build --mode lib"
16
14
  },
17
15
  "dependencies": {
18
16
  "@fortawesome/fontawesome-free": "^5.13.0",
package/public/setting.js CHANGED
@@ -16,14 +16,61 @@ window.setting = {
16
16
  siderTheme: 'dark',
17
17
  // 顶栏风格,可选值为 light、dark 或 primary
18
18
  headerTheme: 'light',
19
- // 是否根据操作系统缩放比例,自动调整比例
20
- autoFixRatio: true,
21
- // 是否显示多语言
22
- showI18n: true,
23
- // 是否显示通知
24
- showNotice: true,
19
+ // 顶栏是否置顶,开启后会覆盖侧边栏,需开启 headerFix
20
+ headerStick: false,
25
21
  // 是否开启多 Tabs 页签
26
22
  tabs: true,
23
+ // 多 Tabs 页签是否显示图标,开启 tabs 时有效
24
+ showTabsIcon: true,
25
+ // 是否固定多 Tabs 多页签
26
+ tabsFix: true,
27
+ // 再次点击 Tabs 页签时,是否重载当前页面
28
+ tabsReload: false,
29
+ // 页签是否支持拖拽排序
30
+ tabsOrder: true,
31
+ // 是否固定侧边栏
32
+ siderFix: true,
33
+ // 是否固定顶栏
34
+ headerFix: true,
35
+ // 是否在下滑时隐藏顶栏,需开启 headerFix,如果开启了 tabsFix,Tabs 也会被隐藏
36
+ headerHide: true,
37
+ // 是否显示顶部菜单栏
38
+ // 一般来说,侧边的菜单栏足以满足大部分业务,如需动态切换侧边栏,可开启此选项启用顶部一级菜单,此时侧边栏将作为二级菜单
39
+ headerMenu: false,
40
+ // 侧边菜单栏是否开启手风琴模式
41
+ menuAccordion: true,
42
+ // 是否显示折叠侧边栏按钮,移动端下会自动强制开启
43
+ showSiderCollapse: true,
44
+ // 侧边菜单栏是否默认折起
45
+ menuCollapse: false,
46
+ // 再次点击当前侧边菜单时,是否重载当前页面
47
+ menuSiderReload: false,
48
+ // 再次点击当前顶部菜单时,是否重载当前页面
49
+ menuHeaderReload: false,
50
+ // 侧边菜单折起时,是否在子菜单前显示父级菜单名称
51
+ showCollapseMenuTitle: false,
52
+ // 是否显示重载按钮
53
+ showReload: false,
54
+ // 是否显示搜索
55
+ showSearch: false,
56
+ // 是否显示通知
57
+ showNotice: false,
58
+ // 是否显示全屏
59
+ showFullscreen: true,
60
+ // 在手机访问时,是否在顶部显示小尺寸 logo
61
+ showMobileLogo: true,
62
+ // 是否显示全局面包屑,开启 headerMenu 时不可用
63
+ showBreadcrumb: true,
64
+ // 全局面包屑是否显示图标,开启 showBreadcrumb 时有效
65
+ showBreadcrumbIcon: false,
66
+ // 是否显示多语言
67
+ showI18n: true,
68
+ // 是否支持动态修改布局配置,移动端下会自动强制关闭
69
+ enableSetting: false,
70
+ // 退出登录时,是否二次确认
71
+ logoutConfirm: true,
72
+ // 是否根据操作系统缩放比例,自动调整比例
73
+ autoFixRatio: true,
27
74
  // 是否允许点击遮罩层关闭
28
75
  maskClosable: true,
29
76
  // 是否允许拖动
package/src/api/model.js CHANGED
@@ -218,14 +218,12 @@ export default {
218
218
  result = await request({
219
219
  url: `api/Model/group`,
220
220
  method: 'post',
221
- responseType: 'blob',
222
221
  data
223
222
  });
224
223
  } else {
225
224
  result = await request({
226
225
  url: `api/${tableView.model}/${path}`,
227
226
  method: method,
228
- responseType: 'blob',
229
227
  data
230
228
  });
231
229
  }
package/src/i18n/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { createI18n } from 'vue-i18n/index';
1
+ import { createI18n } from 'vue-i18n';
2
2
  //import store from '../store/index';
3
3
  //import messages from './locale';
4
4
 
@@ -1,22 +0,0 @@
1
- module.exports = {
2
- title: 'mooho-base-admin-plus',
3
- components: [
4
- 'src/components/view/modal-form.vue',
5
- 'src/components/view/modal-table.vue',
6
- 'src/components/view/view-form.vue',
7
- 'src/components/view/view-table.vue',
8
- 'src/components/view/view-chart.vue',
9
- 'src/components/input/*.vue'
10
- ],
11
- styleguideDir: 'styleguide-dist',
12
- // 在编辑器的右上角添加一个小按钮,用于将编辑器的内容复制到剪贴板
13
- copyCodeButton: true,
14
- // 是否每个章节是一个独立的页面. 默认:false
15
- pagePerSection: false,
16
- // props/events/slot的说明默认是展开还是收缩: expand / collapse / hide
17
- usageMode: 'expand',
18
- // 左侧导航默认是展开还是收缩: expand / collapse / hide
19
- tocMode: 'expand',
20
- // 显示 prop、事件、槽或方法是否来自当前文件或在 mixin 或扩展组件中配置。如果它是外部的,它会显示组件的名称,并在悬停时显示文件的相对路径。
21
- displayOrigins: true
22
- };