import React,{
Component,Fragment } from 'react';
import Item from './item';
import './app.css'
class APP extends Component{
constructor(props){
super(props);
this.state={
inputVal1:'',
inputVal2:'',
munu:[
{
taste:'清淡', vegetables:'白菜'},
{
taste:'麻', vegetables:'青菜'},
{
taste:'咸', vegetables:'花菜'},
{
taste:'香辣', vegetables:'香菜'},
{
taste:'酸辣', vegetables:'萝卜'},
{
taste:'咸味', vegetables:'冬瓜'},
]
}
}
// 接受输入框内的参数
onChange1 = (e
React——第三篇,两天的学习
最新推荐文章于 2024-04-23 17:00:29 发布