...
|
...
|
@@ -27,7 +27,7 @@ export default { |
|
|
},
|
|
|
// 字段key,用于取出数据中的名字
|
|
|
fieldName: {
|
|
|
default: 'title'
|
|
|
default: 'nickname'
|
|
|
},
|
|
|
emptyText: {
|
|
|
default: '无匹配项'
|
...
|
...
|
@@ -100,7 +100,7 @@ export default { |
|
|
} else {
|
|
|
that.modelValue.forEach(function (v, i) {
|
|
|
selectArr.forEach(function (v1) {
|
|
|
if (v.busId == v1.busId) {
|
|
|
if (v.id === v1.id) {
|
|
|
that.modelValue.splice(i, 1);
|
|
|
}
|
|
|
})
|
...
|
...
|
@@ -114,6 +114,9 @@ export default { |
|
|
},
|
|
|
watch: {},
|
|
|
mounted() {
|
|
|
|
|
|
},
|
|
|
created() {
|
|
|
let that = this;
|
|
|
//加载资源列表
|
|
|
const {proxy} = Vue.getCurrentInstance()
|
...
|
...
|
@@ -123,9 +126,6 @@ export default { |
|
|
that.list = res;
|
|
|
}
|
|
|
})
|
|
|
},
|
|
|
created() {
|
|
|
|
|
|
|
|
|
}
|
|
|
} |
...
|
...
|
|