|
|
@@ -1,6 +1,6 @@
|
|
|
<template>
|
|
|
<div class="flex flex-wrap flex-center">
|
|
|
- <div v-if="tags.length > 2" class="flex flex-center flex-justify-start">
|
|
|
+ <div v-if="tags.length >= 2" class="flex flex-center flex-justify-start">
|
|
|
<div class="tag flex flex-center" v-for="i in tags" :key="i.id">
|
|
|
{{ i.dictValue }}
|
|
|
<el-icon class="ml-10" @click="remove(i)" v-if="!disabled">
|
|
|
@@ -112,6 +112,7 @@ export default {
|
|
|
]
|
|
|
this.show = false
|
|
|
this.form = {}
|
|
|
+ console.log(this.tags)
|
|
|
this.$emit('submit', this.tags)
|
|
|
},
|
|
|
remove(res) {
|