//商品选择完成跳转到提交订单页面 function orderDetails(){ var shopCarIds = [];//存放商品的数组 var objs = []; objs = $("div[id^='of_am_']");//所有商品的id for(var i = 0;i < objs.length; i++){ var orderId = objs[i].id.replace("of_am_","");//获取id var
vue的路由组件中,引入模块的两种写法:(@等价于..)死的写法:不是按需加载1:import Index from '@/components/Index'(import Index from '../components/Index')活的写法:按需加载2:const disconnect = (resolve) => { import('pages/disconnect/disconnect').then(template => { resolve(template) })}