|
@@ -2510,7 +2510,7 @@ export default {
|
|
|
assetsTargetUpdate() {
|
|
|
this.$refs.targetForm.validate(valid => {
|
|
|
if (valid) {
|
|
|
- this.targetForm.assetsId = this.targetForm.id;
|
|
|
+ this.targetForm.assetsId = this.assetsForm.id;
|
|
|
this.targetForm.siteIds = JSON.stringify(this.targetForm.siteIds);
|
|
|
this.targetForm.filePath = JSON.stringify(this.targetForm.filePath);
|
|
|
this.$api.assets.assetsTargetUpdate(this.targetForm).then(res => {
|