Browse Source

获取模板参数名

dev-xx
马远东 10 months ago
parent
commit
680955d679
  1. 5
      src/views/financialsector/FinanceHome.vue
  2. 3
      src/views/financialsector/Financialse/FinancialWarehousing.vue

5
src/views/financialsector/FinanceHome.vue

@ -125,10 +125,9 @@ const removeTag = value => {
}
};
//
//
const provideData = () => {
console.log(`父组件的数据是:${11111}`);
templateInfo.value = { name: '参数', data: 11111 };
templateInfo.value = form.value;
};
</script>

3
src/views/financialsector/Financialse/FinancialWarehousing.vue

@ -441,7 +441,8 @@ onLoad()
//
const Submit=()=>{
console.log(form.value,'表单');
emit('request-data');
emit('request-data');//
console.log(props);//
}
</script>

Loading…
Cancel
Save