mirror of https://github.com/rancher/dashboard.git
Allowing arraylist to update when there's a defaultAddValue
rancher/dashboard#1229
This commit is contained in:
parent
ace85bfe9d
commit
f56aa0695a
|
|
@ -150,7 +150,9 @@ export default {
|
||||||
methods: {
|
methods: {
|
||||||
add() {
|
add() {
|
||||||
this.rows.push({ value: this.defaultAddValue });
|
this.rows.push({ value: this.defaultAddValue });
|
||||||
// this.queueUpdate();
|
if (this.defaultAddValue) {
|
||||||
|
this.queueUpdate();
|
||||||
|
}
|
||||||
|
|
||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
const inputs = this.$refs.value;
|
const inputs = this.$refs.value;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue