diff --git a/ruoyi-ui/src/components/Process/index.vue b/ruoyi-ui/src/components/Process/index.vue
index 2725189f..27424b54 100644
--- a/ruoyi-ui/src/components/Process/index.vue
+++ b/ruoyi-ui/src/components/Process/index.vue
@@ -29,7 +29,7 @@
- 校验xml
+
查看xml
下载xml
下载svg
@@ -255,7 +255,7 @@ export default {
@import "~bpmn-js/dist/assets/bpmn-font/css/bpmn.css";
@import "~bpmn-js/dist/assets/bpmn-font/css/bpmn-codes.css";
@import "~bpmn-js/dist/assets/bpmn-font/css/bpmn-embedded.css";
-@import "~bpmn-js-bpmnlint/dist/assets/css/bpmn-js-bpmnlint.css";
+//@import "~bpmn-js-bpmnlint/dist/assets/css/bpmn-js-bpmnlint.css";
.view-mode {
.el-header, .el-aside, .djs-palette, .bjs-powered-by {
display: none;
diff --git a/ruoyi-ui/src/utils/db.js b/ruoyi-ui/src/utils/db.js
index 000d80da..69efdb5b 100644
--- a/ruoyi-ui/src/utils/db.js
+++ b/ruoyi-ui/src/utils/db.js
@@ -1,5 +1,3 @@
-import de from "element-ui/src/locale/lang/de";
-
const DRAWING_ITEMS = 'drawingItems'
const DRAWING_ITEMS_VERSION = '1.2'
const DRAWING_ITEMS_VERSION_KEY = 'DRAWING_ITEMS_VERSION'
@@ -22,7 +20,11 @@ export function getDrawingList() {
}
export function saveDrawingList(list) {
- localStorage.setItem(DRAWING_ITEMS, JSON.stringify(list))
+ if (JSON.stringify(list)){
+ localStorage.setItem(DRAWING_ITEMS, JSON.stringify(list))
+ }else {
+ localStorage.setItem(DRAWING_ITEMS, '[]')
+ }
}
export function getIdGlobal() {
diff --git a/ruoyi-ui/src/views/tool/build/index.vue b/ruoyi-ui/src/views/tool/build/index.vue
index 994bef5c..28e04d68 100644
--- a/ruoyi-ui/src/views/tool/build/index.vue
+++ b/ruoyi-ui/src/views/tool/build/index.vue
@@ -284,7 +284,7 @@ export default {
})
}else {
// 初始化表单设计器
- that.formConf = {};
+ // that.formConf = {};
if (formConfInDB) {
that.formConf = formConfInDB
}