diff --git a/src/pages/content/material/index.vue b/src/pages/content/material/index.vue index 178163d..3864bce 100644 --- a/src/pages/content/material/index.vue +++ b/src/pages/content/material/index.vue @@ -1,17 +1,23 @@ @@ -63,7 +69,7 @@ const { return (
- {record.mimetype.startsWith('image') ? ( + {record.mimetype.startsWith('image1') ? ( @@ -106,13 +112,6 @@ const { title: '操作', width: 160, buttons: [ - { - text: '下载', - onClick: props => { - window.open(props.record.path, '_blank'); - }, - icon: 'icon-park-outline-download', - }, { type: 'modify', text: '修改', @@ -171,9 +170,9 @@ const { width: '100px', }, triggerProps: { - autoFitPopupMinWidth: true - } - } + autoFitPopupMinWidth: true, + }, + }, }, { field: 'name', diff --git a/src/pages/user/index.vue b/src/pages/user/index.vue index b156db1..7eaa1f6 100644 --- a/src/pages/user/index.vue +++ b/src/pages/user/index.vue @@ -1,60 +1,16 @@ @@ -196,7 +164,17 @@ import { useAppStore } from '@/store'; import { reactive } from 'vue'; -const appStore = useAppStore() +const appStore = useAppStore(); + +const mail = reactive({ + enable: true, + smtpHost: '10.10.10.30', + smtpPort: 25, + sender: 'no-reply@juetan.cn', + authNeed: true, + authUser: '952222@163.com', + authPass: 'FenZyealdsa@s92.', +}); const user = reactive({ nickname: '绝弹', @@ -215,8 +193,10 @@ const user = reactive({