Browse Source

名字为空

CzRger 6 months ago
parent
commit
afd0094dd7
1 changed files with 1 additions and 2 deletions
  1. 1 2
      src/views/manage/service/detail.vue

+ 1 - 2
src/views/manage/service/detail.vue

@@ -563,7 +563,6 @@ import {ElMessage, ElMessageBox} from "element-plus";
 import complexRequestParams from './complex-params.vue'
 import complexRequestParams from './complex-params.vue'
 import formatRuleDict from './format-rule-dict.vue'
 import formatRuleDict from './format-rule-dict.vue'
 import {outsideServiceFindById, outsideServiceSaveOrUpdate} from "@/api/modules/manage/service";
 import {outsideServiceFindById, outsideServiceSaveOrUpdate} from "@/api/modules/manage/service";
-import { v4 } from "uuid";
 
 
 const emit = defineEmits(['update:show', 'refresh'])
 const emit = defineEmits(['update:show', 'refresh'])
 const {proxy} = getCurrentInstance()
 const {proxy} = getCurrentInstance()
@@ -854,7 +853,7 @@ const initDetail = () => {
     }
     }
     if (props.transfer.mode === 'copy') {
     if (props.transfer.mode === 'copy') {
       state.form.id = ''
       state.form.id = ''
-      state.form.serviceName = v4()
+      state.form.serviceName = ''
     }
     }
     state.loading = false
     state.loading = false
   })
   })