improve: 标签选择

(cherry picked from commit 0565863f99e837c16847da8d0dcf03c1045b9d38)
This commit is contained in:
From-wh 2023-04-04 15:00:30 +08:00
parent 241f0636ec
commit c94f887680

View File

@ -30,7 +30,7 @@ export default {
props: {
uid: {
type: String | Number,
default: '',
default: 0,
},
only_get: {
default: false,
@ -64,7 +64,7 @@ export default {
},
methods: {
getList() {
getUserLabel(this.uid).then((res) => {
getUserLabel(this.uid || 0).then((res) => {
if (this.selectDataLabel && this.selectDataLabel.length) {
this.selectDataLabel.map((el) => {
res.data.map((re) => {