king
2021-07-28 137fb8ea6af2789b3238b22bac31d80bced41dfe
src/menu/components/share/logcomponent/index.jsx
@@ -18,6 +18,7 @@
  state = {
    dict: sessionStorage.getItem('lang') !== 'en-US' ? zhCN : enUS,
    appType: sessionStorage.getItem('appType'),
    visible: false,
    data: [],
    columns: [
@@ -69,11 +70,15 @@
  }
  revert = (item) => {
    const { appType } = this.state
    const data = this.state.data.filter(d => d.uuid !== item.uuid)
    this.setState({data})
    MKEmitter.emit('thawButtons', item.uuid)
    this.props.handlelog('revert', data, item)
    if (appType === 'mob' || (appType === 'pc' && item.OpenType !== 'popview')) return
    MKEmitter.emit('thawButtons', item.uuid)
  }
  handleDelete = (item) => {