|
@@ -213,11 +213,11 @@
|
|
|
|
|
|
const handleTag = (item) => {
|
|
|
form.value = {...form.value, ...item}
|
|
|
- tagList.value = item.labels.split(',').map(l => ({name: l}));
|
|
|
+ tagList.value = item?.labels?.split(',').map(l => ({name: l}));
|
|
|
tagShow.value = true;
|
|
|
}
|
|
|
const handleDeleteTag = (item, index) => {
|
|
|
- tagList.value.splice(index, 1);
|
|
|
+ tagList.value?.splice(index, 1);
|
|
|
}
|
|
|
|
|
|
const handleAddTag = () => {
|