data() {
return {
targetDateVals: {
period1: '',
},
targetDateValsBackUp: {},
};
}
methods: {
const targetDateVals = {
period1: '1',
}
this.targetDateVals = targetDateVals
this.targetDateValsBackUp = {...targetDateVals}
}
<el-input v-model="targetDateVals.period1"></el-input>