fix(接口定义): 修复自定义字段单选框无法选择的缺陷
--bug=1018803 --user=王孝刚 【接口测试】启用自定义模版单选字段无法被选中 https://www.tapd.cn/55049933/s/1275750
This commit is contained in:
parent
bab30dd9f9
commit
890b82b1a3
|
@ -186,7 +186,7 @@ export default {
|
|||
},
|
||||
customFieldForm: {
|
||||
handler(v, v1) {
|
||||
if (v && v1 && this.$store.state.apiMap && this.basicForm.id) {
|
||||
if (v && v1 && store.apiMap && this.basicForm.id) {
|
||||
this.apiMapStatus();
|
||||
}
|
||||
},
|
||||
|
@ -245,4 +245,8 @@ export default {
|
|||
|
||||
<style scoped>
|
||||
|
||||
.case-form {
|
||||
height: 95%;
|
||||
overflow: auto;
|
||||
}
|
||||
</style>
|
||||
|
|
|
@ -56,6 +56,7 @@
|
|||
import draggable from "vuedraggable";
|
||||
import MsInstructionsIcon from "metersphere-frontend/src/components/MsInstructionsIcon";
|
||||
import {getUUID} from "metersphere-frontend/src/utils";
|
||||
|
||||
export default {
|
||||
name: "MsSingleHandleDrag",
|
||||
components: {
|
||||
|
@ -120,6 +121,9 @@ export default {
|
|||
if (!this.isKv) {
|
||||
item.value = getUUID().substring(0, 8);
|
||||
}
|
||||
while (typeof item.value === 'number') {
|
||||
item.value = getUUID().substring(0, 8);
|
||||
}
|
||||
this.data.push(item);
|
||||
this.editIndex = this.data.length - 1;
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue