no message
Former-commit-id: f6cebe3561446aee9a7c77e7b90e981b04c04437 [formerly f6cebe3561446aee9a7c77e7b90e981b04c04437 [formerly f6cebe3561446aee9a7c77e7b90e981b04c04437 [formerly f6cebe3561446aee9a7c77e7b90e981b04c04437 [formerly ba17af8d6e4ab1deb21e6bbf2c9ca6a4d2dd75c9 [formerly 44b073ce1fe4addef18298c3f941cf569c216393]]]]] Former-commit-id: e10e949848ec08b0bb678b16b396539a7debf803 Former-commit-id: 205a81acd245e104e1fdf9e6c06bcd2020f6267c Former-commit-id: 10c321ed9464c675d82209bb9684bd27dfda99b4 [formerly 91f33d6b05ee82995ee2fd844b8e829851e2c7dc] Former-commit-id: 3e87f4f0e4a961fb42287ae74c6635f881c2e3d4 Former-commit-id: 6a800214a61fa686f8ae1a70a9cb84a8af871970 Former-commit-id: 76bb32d5779efd63d1ba70c3cd676a054ea40b3e Former-commit-id: 0725bb5934012f799fffe69df7adb12ccece71b3 Former-commit-id: e6b787b50bfc00896b833168f4b3ad48da0be68a
This commit is contained in:
@@ -14,6 +14,7 @@
|
||||
* [ 新增 ] 现在页面标题可以根据路由做出对应变化了
|
||||
* [ 新增 ] 版本检查机制
|
||||
* [ 新增 ] `d2-container` 隐形模式支持 header 插槽
|
||||
* [ 新增 ] 版本检查可以设置为不显示提示框
|
||||
|
||||
## v1.1.3
|
||||
|
||||
|
||||
@@ -40,6 +40,7 @@
|
||||
"vue": "^2.5.2",
|
||||
"vue-grid-layout": "^2.1.11",
|
||||
"vue-i18n": "^7.4.2",
|
||||
"vue-json-tree-view": "^2.1.4",
|
||||
"vue-router": "^3.0.1",
|
||||
"vue-splitpane": "^1.0.2",
|
||||
"vuex": "^3.0.1",
|
||||
|
||||
@@ -64,6 +64,8 @@ import pluginLog from '@/plugin/log'
|
||||
import pluginOpen from '@/plugin/open'
|
||||
// 插件 支持百万级数据的表格
|
||||
import bigdataTable from '@/plugin/vue-bigdata-table'
|
||||
// 插件 json 展示
|
||||
import vueJsonTreeView from 'vue-json-tree-view'
|
||||
|
||||
// 打包的设置 用户获取路径
|
||||
import buildConfig from '../config/index'
|
||||
@@ -77,6 +79,7 @@ Vue.use(pluginExport)
|
||||
Vue.use(pluginLog)
|
||||
Vue.use(pluginOpen)
|
||||
Vue.use(bigdataTable)
|
||||
Vue.use(vueJsonTreeView)
|
||||
|
||||
Vue.config.productionTip = false
|
||||
|
||||
|
||||
@@ -1 +1 @@
|
||||
094903b1e629e596be720ff155ff60a312127a92
|
||||
6a871cd88b3b63f275668bcd3c20c6bfa0716909
|
||||
@@ -1,6 +1,6 @@
|
||||
## 隐形页面容器 带有头部
|
||||
|
||||
不显示任何背景色和边框,但是有一个和分页组件效果融合的头部
|
||||
不显示任何背景色和边框,但是有一个和分页组件效果融合的头部,看起来更舒服一点
|
||||
|
||||
```
|
||||
<d2-container type="ghost">
|
||||
|
||||
30
src/pages/demo/components/json-tree/index.vue
Normal file
30
src/pages/demo/components/json-tree/index.vue
Normal file
@@ -0,0 +1,30 @@
|
||||
<template>
|
||||
<d2-container class="page">
|
||||
<tree-view :data="packJson" :options="options"></tree-view>
|
||||
</d2-container>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import packJson from '../../../../../package.json'
|
||||
export default {
|
||||
data () {
|
||||
return {
|
||||
options: {
|
||||
maxDepth: 10,
|
||||
rootObjectKey: 'package.json',
|
||||
modifiable: false
|
||||
},
|
||||
packJson
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
@import '~@/assets/style/public.scss';
|
||||
.page {
|
||||
// Your page style here
|
||||
// Do not use empty rulesets
|
||||
// If empty, delete it
|
||||
}
|
||||
</style>
|
||||
@@ -1 +1 @@
|
||||
6aad8f65fcc71569df2969b2d39a121bcdec2aa6
|
||||
a83598d185531f4f568ff58da2a51ad426f050e4
|
||||
Reference in New Issue
Block a user