fix(接口自动化): 初始化TAG问题修复
This commit is contained in:
parent
0ca5ae9565
commit
feeb44155b
|
@ -41,10 +41,15 @@
|
|||
},
|
||||
size: {type: String, default: "small"}
|
||||
},
|
||||
created() {
|
||||
if (!this.currentScenario.tags) {
|
||||
this.currentScenario.tags = [];
|
||||
}
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
newTag: '',
|
||||
innerTags: [...this.currentScenario.tags]
|
||||
innerTags: this.currentScenario.tags ? [...this.currentScenario.tags] : []
|
||||
}
|
||||
},
|
||||
watch: {
|
||||
|
|
Loading…
Reference in New Issue