Переглянути джерело

perf: 调换导入导出的 logo

奔跑的面条 2 роки тому
батько
коміт
15d883a3ba

+ 7 - 7
src/views/chart/ContentEdit/components/EditTools/index.vue

@@ -172,19 +172,19 @@ const updateToSession = (id: string) => {
 
 // 配置列表
 const btnList: BtnListType[] = [
+  {
+    key: 'import',
+    type: TypeEnum.IMPORTUPLOAD,
+    name: '导入',
+    icon: ShareIcon
+  },
   {
     key: 'export',
     type: TypeEnum.BUTTON,
     name: '导出',
-    icon: ShareIcon,
+    icon: DownloadIcon,
     handle: exportHandle
   },
-  {
-    key: 'import',
-    type: TypeEnum.IMPORTUPLOAD,
-    name: '导入',
-    icon: DownloadIcon
-  },
   {
     key: 'edit',
     type: TypeEnum.BUTTON,