king
2024-10-07 a26f13ee999e84fc49cc3545e6e5d3daf9c6c41f
2024-10-07
2个文件已修改
10 ■■■■■ 已修改文件
src/api/index.js 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/tabviews/zshare/actionList/normalbutton/index.jsx 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/api/index.js
@@ -1065,8 +1065,6 @@
   * @description 清空后端缓存
   */
  cacheInterface (param) {
    param.userid = sessionStorage.getItem('UserID') || ''
    param.LoginUID = sessionStorage.getItem('LoginUID') || ''
    param.appkey = window.GLOB.appkey || ''
    let url = '/webapi/excache'
src/tabviews/zshare/actionList/normalbutton/index.jsx
@@ -2771,7 +2771,7 @@
  clearBackCache = () => {
    if (!window.GLOB.backend) return
    Api.cacheInterface({}).then(res => {
    Api.cacheInterface({userid: sessionStorage.getItem('UserID') || '', LoginUID: sessionStorage.getItem('LoginUID') || ''}).then(res => {
      if (!res.status) {
        notification.warning({
          top: 92,
@@ -2779,7 +2779,11 @@
          duration: 5
        })
      } else if (window.GLOB.localSystemApi) {
        Api.cacheInterface({rduri: window.GLOB.localSystemApi.replace('dostars', 'excache')}).then(result => {
        Api.cacheInterface({
          userid: sessionStorage.getItem('LocalUserID') || sessionStorage.getItem('UserID') || '',
          LoginUID: sessionStorage.getItem('LocalLoginUID') || sessionStorage.getItem('LoginUID') || '',
          rduri: window.GLOB.localSystemApi.replace('dostars', 'excache')
        }).then(result => {
          if (!result.status) {
            notification.warning({
              top: 92,