【更新】调整几个前端界面规范

pull/138/head
小诺 2023-07-22 13:50:11 +08:00 committed by 俞宝山
parent 7b4fdc4bff
commit 3d06d1de5d
3 changed files with 4 additions and 4 deletions

View File

@ -60,7 +60,7 @@
<script> <script>
import tool from '@/utils/tool' import tool from '@/utils/tool'
import XnContextMenu from '@/components/XnContextMenu/index.vue' import XnContextMenu from '@/components/XnContextMenu/index.vue'
import {globalStore, iframeStore, keepAliveStore, viewTagsStore} from '@/store' import { globalStore, iframeStore, keepAliveStore, viewTagsStore } from '@/store'
import { mapState, mapActions } from 'pinia' import { mapState, mapActions } from 'pinia'
export default { export default {
@ -245,7 +245,7 @@
}) })
}, },
// //
closeOtherCacheTabs () { closeOtherCacheTabs() {
const tags = [...this.tagList] const tags = [...this.tagList]
tags.forEach((tag) => { tags.forEach((tag) => {
this.closeSelectedTag(tag, false) this.closeSelectedTag(tag, false)

View File

@ -12,7 +12,7 @@ import { message } from 'ant-design-vue'
export default { export default {
// 对下载的流进行处理,直接从浏览器下载下来 // 对下载的流进行处理,直接从浏览器下载下来
resultDownload (res) { resultDownload(res) {
if (res.data.type === 'application/json') { if (res.data.type === 'application/json') {
// 错误以及无权限 // 错误以及无权限
const reader = new FileReader(res.data) const reader = new FileReader(res.data)

View File

@ -8,7 +8,7 @@
* 5.不可二次分发开源参与同类竞品如有想法可联系团队xiaonuobase@qq.com商议合作 * 5.不可二次分发开源参与同类竞品如有想法可联系团队xiaonuobase@qq.com商议合作
* 6.若您的项目无法满足以上几点需要更多功能代码获取Snowy商业授权许可请在官网购买授权地址为 https://www.xiaonuo.vip * 6.若您的项目无法满足以上几点需要更多功能代码获取Snowy商业授权许可请在官网购买授权地址为 https://www.xiaonuo.vip
*/ */
import { generate } from '@ant-design/colors'; import { generate } from '@ant-design/colors'
import tool from '../utils/tool' import tool from '../utils/tool'
import config from '../config' import config from '../config'
import { ThemeModeEnum } from './enum' import { ThemeModeEnum } from './enum'