Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
W
wangxiaolu-sfa-ui
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
sfa
wangxiaolu-sfa-ui
Commits
d674c8fa
提交
d674c8fa
authored
7月 24, 2025
作者:
lidongxu
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
style(table): 修复:表格加载蒙层覆盖到其他蒙层的问题
上级
75a30ce6
隐藏空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
13 行增加
和
9 行删除
+13
-9
element-ui.scss
src/assets/styles/element-ui.scss
+5
-0
Navbar.vue
src/layout/components/Navbar.vue
+8
-8
request.js
src/utils/request.js
+0
-1
没有找到文件。
src/assets/styles/element-ui.scss
浏览文件 @
d674c8fa
...
@@ -46,6 +46,11 @@
...
@@ -46,6 +46,11 @@
}
}
}
}
// 重写 el-table 的 loading-mask 加载进度蒙层
.el-loading-mask
{
z-index
:
1
!
important
;
}
// to fixed https://github.com/ElemeFE/element/issues/2461
// to fixed https://github.com/ElemeFE/element/issues/2461
// 重写 dialog 样式,默认居中显示
// 重写 dialog 样式,默认居中显示
.el-overlay-dialog
{
.el-overlay-dialog
{
...
...
src/layout/components/Navbar.vue
浏览文件 @
d674c8fa
...
@@ -14,7 +14,7 @@
...
@@ -14,7 +14,7 @@
<div
class=
"right-menu"
>
<div
class=
"right-menu"
>
<template
v-if=
"appStore.device !== 'mobile'"
>
<template
v-if=
"appStore.device !== 'mobile'"
>
<!-- 新版本 -->
<!-- 新版本 -->
<
!--
<
div
class=
"right-menu-item hover-effect new-version"
<div
class=
"right-menu-item hover-effect new-version"
@
click=
"showVersionFn"
>
@
click=
"showVersionFn"
>
<svg-icon
icon-class=
"new-version"
/>
<svg-icon
icon-class=
"new-version"
/>
</div>
</div>
...
@@ -22,7 +22,7 @@
...
@@ -22,7 +22,7 @@
<version-notice
v-model=
"showVersionNoticeVisible"
<version-notice
v-model=
"showVersionNoticeVisible"
:nowVersion=
"nowVersion"
:nowVersion=
"nowVersion"
:versionList=
"showVersionList"
:versionList=
"showVersionList"
@
confirm=
"saveNowVersion"
/>
-->
@
confirm=
"saveNowVersion"
/>
<header-search
id=
"header-search"
<header-search
id=
"header-search"
class=
"right-menu-item"
/>
class=
"right-menu-item"
/>
...
@@ -107,12 +107,12 @@ const nowVersion = ref('') // 当前最新版本
...
@@ -107,12 +107,12 @@ const nowVersion = ref('') // 当前最新版本
// 判断是否有新版本出现
// 判断是否有新版本出现
onMounted
(()
=>
{
onMounted
(()
=>
{
//
const oldVersion = proxy.$cache.local.get('version')
const
oldVersion
=
proxy
.
$cache
.
local
.
get
(
'version'
)
//
const versionObj = versionStore.version[0]
const
versionObj
=
versionStore
.
version
[
0
]
//
nowVersion.value = versionObj.version
nowVersion
.
value
=
versionObj
.
version
//
if (oldVersion !== nowVersion.value) {
if
(
oldVersion
!==
nowVersion
.
value
)
{
//
handleVersionList()
handleVersionList
()
//
}
}
})
})
// 展示版本通知弹框
// 展示版本通知弹框
const
showVersionFn
=
()
=>
{
const
showVersionFn
=
()
=>
{
...
...
src/utils/request.js
浏览文件 @
d674c8fa
...
@@ -81,7 +81,6 @@ service.interceptors.request.use(config => {
...
@@ -81,7 +81,6 @@ service.interceptors.request.use(config => {
// 响应拦截器
// 响应拦截器
service
.
interceptors
.
response
.
use
(
async
res
=>
{
service
.
interceptors
.
response
.
use
(
async
res
=>
{
console
.
log
(
'响应'
,
res
)
// 未设置状态码则默认成功状态
// 未设置状态码则默认成功状态
const
code
=
res
.
data
.
code
||
200
;
const
code
=
res
.
data
.
code
||
200
;
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论