From c1131c0b5408fea0b3b731e47d7b0d4e468b1499 Mon Sep 17 00:00:00 2001 From: yanran200730 Date: Thu, 21 Jul 2022 18:19:41 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A4=A7=E5=B1=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- examples/main.js | 1 + project/dv/apps/AppPdDv.vue | 17 +- project/dv/apps/components/AiGrid.vue | 209 ++++++++++++++++++ .../dv/apps/{ => components}/DonutChart.vue | 0 4 files changed, 223 insertions(+), 4 deletions(-) create mode 100644 project/dv/apps/components/AiGrid.vue rename project/dv/apps/{ => components}/DonutChart.vue (100%) diff --git a/examples/main.js b/examples/main.js index 6539fb0f..0116a563 100644 --- a/examples/main.js +++ b/examples/main.js @@ -18,6 +18,7 @@ Vue.use(dvui) //富文本编辑器配置 Vue.config.productionTip = false; Vue.prototype.$axios = axios; +Vue.prototype.$request = axios Vue.prototype.formatContent = (val) => val.replace(/(\r\n)|(\n)/g, '
'); Object.keys(utils).map((e) => (Vue.prototype[e] = utils[e])); new Vue({ diff --git a/project/dv/apps/AppPdDv.vue b/project/dv/apps/AppPdDv.vue index de8a59fa..386b08f6 100644 --- a/project/dv/apps/AppPdDv.vue +++ b/project/dv/apps/AppPdDv.vue @@ -135,7 +135,9 @@
-
+
+ +
@@ -219,15 +221,22 @@ + + diff --git a/project/dv/apps/DonutChart.vue b/project/dv/apps/components/DonutChart.vue similarity index 100% rename from project/dv/apps/DonutChart.vue rename to project/dv/apps/components/DonutChart.vue