2 Commits c57bb7e527 ... 1c130449ce

Author SHA1 Message Date
  jonbo 1c130449ce Merge branch 'master' of http://192.168.2.241:3000/hdc/java-collect-fees-front 3 months ago
  jonbo 33aa22a334 增加rendercolumn 3 months ago
1 changed files with 18 additions and 0 deletions
  1. 18 0
      src/views/mis/common/misTable/RenderColumn.vue

+ 18 - 0
src/views/mis/common/misTable/RenderColumn.vue

@@ -0,0 +1,18 @@
+<script>
+export default {
+  props: {
+    render: {
+      type: Function,
+      default: () => () => { }
+    },
+    scope: {
+      type: Object,
+      default: () => { }
+    }
+  },
+  render(h) {
+    const { row, column, value, colIndex } = this.scope;
+    return this.render(h, row, column, value, colIndex);
+  }
+}
+</script>