Browse Source

修改工具栏默认配置

tongshangming 2 months ago
parent
commit
b3091310c5
3 changed files with 9 additions and 6 deletions
  1. 1 1
      package.json
  2. 4 4
      pnpm-lock.yaml
  3. 4 1
      src/main.ts

+ 1 - 1
package.json

@@ -16,7 +16,7 @@
   "dependencies": {
     "@amap/amap-jsapi-loader": "^1.0.1",
     "@element-plus/icons-vue": "^2.3.1",
-    "@fskj-admin/core": "^1.4.7",
+    "@fskj-admin/core": "^1.4.10",
     "@fskj-admin/micro": "^0.1.0",
     "@icon-park/vue-next": "^1.4.2",
     "@vueuse/core": "^10.11.1",

+ 4 - 4
pnpm-lock.yaml

@@ -12,8 +12,8 @@ dependencies:
     specifier: ^2.3.1
     version: 2.3.1(vue@3.4.38)
   '@fskj-admin/core':
-    specifier: ^1.4.7
-    version: 1.4.7
+    specifier: ^1.4.10
+    version: 1.4.10
   '@fskj-admin/micro':
     specifier: ^0.1.0
     version: 0.1.0
@@ -1067,8 +1067,8 @@ packages:
     resolution: {integrity: sha512-X8R8Oj771YRl/w+c1HqAC1szL8zWQRwFvgDwT129k9ACdBoud/+/rX9V0qiMl6LWUdP9voC2nDVZYPMQQsb6eA==}
     dev: false
 
-  /@fskj-admin/core@1.4.7:
-    resolution: {integrity: sha512-2AqJxBaKOUYCE23+SHzl+uZXA0dStsl/p34Lnezdn/APZg8OacDNAk2Qslb3TprQtXvOMrMxQb1hDqUIcShKPQ==}
+  /@fskj-admin/core@1.4.10:
+    resolution: {integrity: sha512-yoSIsTaIWWsqohED54tOCjQUvgGZq7k2SzR924oQQbrRJ+JJBDHViDsosQ97mdDeuALXm/Lpp75a3tm2hqJmng==}
     dev: false
 
   /@fskj-admin/micro@0.1.0:

+ 4 - 1
src/main.ts

@@ -20,7 +20,10 @@ const app = createApp(App)
 app.use(createPinia())
 app.use(router)
 app.use(FsAdminCore, {
-  upload: uploadConfig
+  upload: uploadConfig,
+  toolbarConfig: {
+    custom: true
+  }
 })
 app.use(registerComponent)
 app.use(directives)