just remore the cache
This commit is contained in:
梁灏 2019-02-27 18:00:15 +08:00
parent 6e97df10d9
commit 856cf774f1

View file

@ -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 = {};