From fc02fcd99c105d97b75c8b126618b73aa8f5390d Mon Sep 17 00:00:00 2001 From: TiaStars Date: Fri, 2 Aug 2024 15:59:06 +0800 Subject: [PATCH] =?UTF-8?q?=E6=99=BA=E8=83=BD=E6=8F=90=E9=86=92=E8=BF=94?= =?UTF-8?q?=E5=9B=9E=E4=BD=93=E4=BF=AE=E6=94=B9=E3=80=81=E6=9C=8D=E5=8A=A1?= =?UTF-8?q?=E4=B8=9A=E5=8F=91=E5=B1=95=E6=8A=A5=E5=91=8A=E4=BF=AE=E6=94=B9?= =?UTF-8?q?bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 2 +- src/views/ServiceAndDevelopment/index.vue | 7 +++++-- src/views/components/myEditor/index.vue | 2 +- src/views/project/projectInfo/components/tabFive/index.vue | 2 +- 4 files changed, 8 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index e4d8b84..6aaaff8 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ruoyi", - "version": "1.0.202408021508", + "version": "1.0.202408021554", "description": "金鸡湖现代服务业品牌管理系统", "author": "若依", "license": "MIT", diff --git a/src/views/ServiceAndDevelopment/index.vue b/src/views/ServiceAndDevelopment/index.vue index b2d25d0..1ff1ccb 100644 --- a/src/views/ServiceAndDevelopment/index.vue +++ b/src/views/ServiceAndDevelopment/index.vue @@ -186,7 +186,8 @@ export default { } else if (type == '保存') { templateMetricsAdd(this.addFrom).then(res=>{ if(res.code == 200) { - this.$refs.importFrom.resetFields(); + // this.$refs.importFrom.resetFields(); + this.getEditinfo(); this.$message({ type: "success", message: "新增成功!", @@ -266,7 +267,9 @@ export default { }, getEditinfo(){ getId().then(res=>{ - this.addFrom = res.data + if(res.data) { + this.addFrom = res.data + } }) }, // 选择年份变化 diff --git a/src/views/components/myEditor/index.vue b/src/views/components/myEditor/index.vue index c937375..9e5b77a 100644 --- a/src/views/components/myEditor/index.vue +++ b/src/views/components/myEditor/index.vue @@ -99,7 +99,7 @@ export default { this.$nextTick(()=>{ const toolbar = DomEditor.getToolbar(editor) const curToolbarConfig = toolbar.getConfig() - console.log( curToolbarConfig.toolbarKeys ) // 当前菜单排序和分组 + // console.log( curToolbarConfig.toolbarKeys ) // 当前菜单排序和分组 }) }, onChange(editor){ diff --git a/src/views/project/projectInfo/components/tabFive/index.vue b/src/views/project/projectInfo/components/tabFive/index.vue index 655f56b..9d47d86 100644 --- a/src/views/project/projectInfo/components/tabFive/index.vue +++ b/src/views/project/projectInfo/components/tabFive/index.vue @@ -175,7 +175,7 @@ export default { getList() { this.loading = true; chiefAll({projectId:this.id}).then(res=>{ - this.remindList = res.data; + this.remindList = res.data.records; this.loading = false; }) },