|
@@ -2,7 +2,7 @@
|
|
|
* @Author : yuanrunwei
|
|
|
* @Date : 2021-11-01 18:03:02
|
|
|
* @LastEditors: daiqisheng
|
|
|
- * @LastEditTime: 2022-04-07 15:28:13
|
|
|
+ * @LastEditTime: 2022-04-17 15:27:38
|
|
|
* @FilePath : \spfm-market-front\src\pages\main\performance\components\form.vue
|
|
|
-->
|
|
|
<template>
|
|
@@ -239,8 +239,11 @@ export default {
|
|
|
console.log(this.form.slice(1), "dadadaa");
|
|
|
this.form.forEach((el) => {
|
|
|
if (el.default) {
|
|
|
- this.object[el.props] = el.default;
|
|
|
- console.log(this.object[el.props], "this.object[el.props]");
|
|
|
+ // this.object[el.props] = el.default;
|
|
|
+ this.object = {
|
|
|
+ ...this.object,
|
|
|
+ [el.props]: el.default,
|
|
|
+ };
|
|
|
}
|
|
|
});
|
|
|
},
|
|
@@ -255,7 +258,7 @@ export default {
|
|
|
};
|
|
|
</script>
|
|
|
<style lang="scss" scope>
|
|
|
-.template{
|
|
|
+.template {
|
|
|
&-head {
|
|
|
display: flex;
|
|
|
justify-content: space-between;
|