Select vue component update..
This commit is contained in:
parent
996038b2f6
commit
55c96a0347
@ -610,6 +610,7 @@ export default {
|
|||||||
// update options
|
// update options
|
||||||
this.selectOptions = options;
|
this.selectOptions = options;
|
||||||
},
|
},
|
||||||
|
|
||||||
value: function (value) {
|
value: function (value) {
|
||||||
if (this.multiple) {
|
if (this.multiple) {
|
||||||
this.real_model = value;
|
this.real_model = value;
|
||||||
@ -617,6 +618,7 @@ export default {
|
|||||||
this.real_model = value.toString();
|
this.real_model = value.toString();
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
model: function (value) {
|
model: function (value) {
|
||||||
if (this.multiple) {
|
if (this.multiple) {
|
||||||
this.real_model = value;
|
this.real_model = value;
|
||||||
|
@ -368,6 +368,8 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
import Vue from 'vue';
|
||||||
|
|
||||||
import { Select, Option, OptionGroup, ColorPicker } from 'element-ui';
|
import { Select, Option, OptionGroup, ColorPicker } from 'element-ui';
|
||||||
|
|
||||||
import AkauntingModalAddNew from './AkauntingModalAddNew';
|
import AkauntingModalAddNew from './AkauntingModalAddNew';
|
||||||
@ -542,6 +544,7 @@ export default {
|
|||||||
|
|
||||||
this.selectOptions = this.list;
|
this.selectOptions = this.list;
|
||||||
*/
|
*/
|
||||||
|
|
||||||
if (!this.remoteAction) {
|
if (!this.remoteAction) {
|
||||||
this.remoteAction = url + '/common/items/autocomplete';
|
this.remoteAction = url + '/common/items/autocomplete';
|
||||||
}
|
}
|
||||||
@ -706,6 +709,7 @@ export default {
|
|||||||
// update options
|
// update options
|
||||||
//this.selectOptions = options;
|
//this.selectOptions = options;
|
||||||
},
|
},
|
||||||
|
|
||||||
value: function (value) {
|
value: function (value) {
|
||||||
if (this.multiple) {
|
if (this.multiple) {
|
||||||
this.real_model = value;
|
this.real_model = value;
|
||||||
@ -714,6 +718,7 @@ export default {
|
|||||||
this.real_model = value;
|
this.real_model = value;
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
model: function (value) {
|
model: function (value) {
|
||||||
if (this.multiple) {
|
if (this.multiple) {
|
||||||
this.real_model = value;
|
this.real_model = value;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user