Selaa lähdekoodia

Update index.tsx

lex 2 vuotta sitten
vanhempi
commit
1cb1ede3c4
1 muutettua tiedostoa jossa 3 lisäystä ja 1 poistoa
  1. 3 1
      src/views/user-info/music-operation/index.tsx

+ 3 - 1
src/views/user-info/music-operation/index.tsx

@@ -680,7 +680,9 @@ export default defineComponent({
               size="large"
               type="primary"
               onClick={() => {
-                this.form.tags = this.radioList
+                this.form.tags = this.radioList.filter((el: any) => {
+                  return el != ''
+                })
                 this.tagStatus = false
                 ;(this as any).$refs.form.clearValidate('tags')
               }}