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