king
2024-10-18 b1fc0a89ce16dd14a6dff98c228a308e85a53828
src/tabviews/zshare/actionList/normalbutton/index.jsx
@@ -307,7 +307,7 @@
      }
    }
    if (window.GLOB.systemType === 'production') { // positecgroup
    if (window.GLOB.systemType === 'production') {
      let _change = {
        prompt: '提示框',
        exec: '直接执行',
@@ -2771,7 +2771,7 @@
  clearBackCache = () => {
    if (!window.GLOB.backend) return
    Api.cacheInterface({userid: sessionStorage.getItem('UserID') || '', LoginUID: sessionStorage.getItem('LoginUID') || ''}).then(res => {
    Api.cacheInterface({}).then(res => {
      if (!res.status) {
        notification.warning({
          top: 92,
@@ -2938,6 +2938,10 @@
      tabId = btn.refreshTab[btn.refreshTab.length - 1]
    }
    if (btn.excache === 'true') {
      this.clearBackSqlCache()
    }
    if (tabId && btn.$MenuID === tabId) { // 刷新当前菜单时,停止其他操作
      MKEmitter.emit('reloadMenuView', tabId)
      return
@@ -3048,6 +3052,20 @@
    }
  }
  clearBackSqlCache = () => {
    if (!window.backend) return
    Api.cacheInterface({}).then(res => {
      if (!res.status) {
        notification.warning({
          top: 92,
          message: res.message || '缓存清空失败!',
          duration: 5
        })
      }
    })
  }
  triggerNote = (res, ID) => {
    const { btn } = this.props