308e75f9a793e4082466789be3247089596206fc.svn-base 947 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. <template>
  2. <reload-effect
  3. :vNode="innerValue"
  4. :effect="reloadEffect"
  5. @effect-end="handleEffectEnd"
  6. />
  7. </template>
  8. <script>
  9. import ReloadEffect from './ReloadEffect'
  10. import JVxeCellMixins from '@/components/jeecg/JVxeTable/mixins/JVxeCellMixins'
  11. export default {
  12. name: 'JVxeNormalCell',
  13. mixins: [JVxeCellMixins],
  14. components: {ReloadEffect},
  15. computed: {
  16. reloadEffectRowKeysMap() {
  17. return this.renderOptions.reloadEffectRowKeysMap
  18. },
  19. reloadEffect() {
  20. return (this.renderOptions.reloadEffect && this.reloadEffectRowKeysMap[this.row.id]) === true
  21. },
  22. },
  23. methods: {
  24. // 特效结束
  25. handleEffectEnd() {
  26. this.$delete(this.reloadEffectRowKeysMap, this.row.id)
  27. },
  28. },
  29. // 【组件增强】注释详见:JVxeCellMixins.js
  30. enhanced: {
  31. switches: {
  32. editRender: false,
  33. },
  34. }
  35. }
  36. </script>
  37. <style scoped>
  38. </style>