Files
mes-ui-d2/src/pages/demo/components/json-tree/index.vue
liyang 012283633e page index more info
Former-commit-id: fc272b2fadc3d0b0752f224fa4f781264de9d53a [formerly fc272b2fadc3d0b0752f224fa4f781264de9d53a [formerly fc272b2fadc3d0b0752f224fa4f781264de9d53a [formerly fc272b2fadc3d0b0752f224fa4f781264de9d53a [formerly f3c6ad17845b0b2e1dcd1a1d52068b1da4427f22 [formerly 5fa132478094709de332730b91f616be1f53be80]]]]]
Former-commit-id: 563e645044b9aa9dfca3b7e35fd5f5ea8b33541d
Former-commit-id: b0faf4cf4ac194773eea640275332fa8f68f1e77
Former-commit-id: aa29bb8e0137784ab46d95add63a8a775c1da957 [formerly 04c1b40c8d589e7fb3e17e4f4a0027d00d538d6e]
Former-commit-id: 6b4843e9509a03a2995dfb68470b5087a2a92e92
Former-commit-id: d3be54f0afa38b217d41695e4d227703dfcf38be
Former-commit-id: f411c77d9f73c52403b4a7d0be17e5400eb2aa1e
Former-commit-id: 3956afb2567bce5896030694decf89cb4787b19e
Former-commit-id: bfac400c2ad036a705c9f75c342b91185791de70
2018-08-18 12:00:56 +08:00

22 lines
364 B
Vue

<template>
<d2-container>
<tree-view :data="packJson" :options="options"/>
</d2-container>
</template>
<script>
import packJson from '../../../../../package.json'
export default {
data () {
return {
options: {
maxDepth: 10,
rootObjectKey: 'package.json',
modifiable: false
},
packJson
}
}
}
</script>