fix(接口定义): 修复复制接口自动化场景,新的场景的创建人为空的缺陷
--bug=1016770 --user=王孝刚 [接口测试]github#17897复制接口自动化场景,新的场景的创建人为空 https://www.tapd.cn/55049933/s/1243561
This commit is contained in:
parent
506fa5e66f
commit
c0be5c7366
|
@ -311,11 +311,12 @@
|
|||
import {
|
||||
downloadFile,
|
||||
getCurrentProjectID,
|
||||
getCurrentUserId,
|
||||
getUUID,
|
||||
hasLicense,
|
||||
hasPermission,
|
||||
objToStrMap,
|
||||
strMapToObj,
|
||||
strMapToObj
|
||||
} from "@/common/js/utils";
|
||||
import {API_SCENARIO_CONFIGS} from "@/business/components/common/components/search/search-components";
|
||||
import {API_SCENARIO_LIST} from "../../../../../common/js/constants";
|
||||
|
@ -1156,6 +1157,9 @@ export default {
|
|||
rowParam.copy = true;
|
||||
rowParam.name = 'copy_' + rowParam.name;
|
||||
rowParam.customNum = '';
|
||||
rowParam.principal = getCurrentUserId();
|
||||
rowParam.createUser = getCurrentUserId();
|
||||
rowParam.userId = getCurrentUserId();
|
||||
this.$emit('edit', rowParam);
|
||||
},
|
||||
showReport(row) {
|
||||
|
|
Loading…
Reference in New Issue