前言大家好我是歌谣今天给大家说说我刚写vue3项目的一些问题问题1语法糖写法不会写用传统写法exportdefaultdefineComponent({setup(){constrouteruseRouter();constlayout{};constvalidateMessages{required:"请输入当前数量",};constformStatereactive({user:{planned:0,qualified:0,unqualified:0,scrap:0,},});constonFinish(values:any){console.log("Success:",values);};constgoHome(){router.push({name:"index",});};co...
2023-12-20 08:57:05 2204浏览 0点赞 0回复 0收藏