parent
6e97df10d9
commit
856cf774f1
1 changed files with 8 additions and 11 deletions
|
@ -114,19 +114,16 @@
|
||||||
// }
|
// }
|
||||||
// return parent;
|
// return parent;
|
||||||
// },
|
// },
|
||||||
fieldValue: {
|
fieldValue () {
|
||||||
cache: false,
|
const model = this.form.model;
|
||||||
get() {
|
if (!model || !this.prop) { return; }
|
||||||
const model = this.form.model;
|
|
||||||
if (!model || !this.prop) { return; }
|
|
||||||
|
|
||||||
let path = this.prop;
|
let path = this.prop;
|
||||||
if (path.indexOf(':') !== -1) {
|
if (path.indexOf(':') !== -1) {
|
||||||
path = path.replace(/:/, '.');
|
path = path.replace(/:/, '.');
|
||||||
}
|
|
||||||
|
|
||||||
return getPropByPath(model, path).v;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
return getPropByPath(model, path).v;
|
||||||
},
|
},
|
||||||
labelStyles () {
|
labelStyles () {
|
||||||
let style = {};
|
let style = {};
|
||||||
|
|
Loading…
Add table
Reference in a new issue