@@ -9,7 +9,7 @@
</el-breadcrumb>
</el-col>
<el-col :span="2">
- <el-button type="text" @click="clickBtn" icon="el-icon-plus">添加信息</el-button>
+ <el-button type="text" @click="clickBtn()" icon="el-icon-plus">添加信息</el-button>
</el-row>
@@ -28,7 +28,7 @@ export default {
computed: {},
methods: {
clickBtn() {
- this.$$emit('clickBtn');
+ this.$emit('clickBtn');
},
};
@@ -42,6 +42,7 @@ export default {
+ console.log('你好');
this.$router.push({ path: '/financial/detail' });