🐳 chore(pre): 修改pre构建目录
This commit is contained in:
parent
46e5c33bf7
commit
78b49d92b1
@ -1,5 +1,5 @@
|
||||
{
|
||||
"miniprogramRoot": "",
|
||||
"miniprogramRoot": "./",
|
||||
"projectname": "Mall-lymarket",
|
||||
"description": "项目配置文件,详见文档:https://developers.weixin.qq.com/miniprogram/dev/devtools/projectconfig.html",
|
||||
"appid": "wx64fe67f111d52457",
|
||||
@ -31,8 +31,7 @@
|
||||
},
|
||||
"disableUseStrict": false,
|
||||
"useCompilerPlugins": false,
|
||||
"minifyWXML": true,
|
||||
"ignoreUploadUnusedFiles": true
|
||||
"minifyWXML": true
|
||||
},
|
||||
"compileType": "miniprogram",
|
||||
"libVersion": "2.24.5",
|
||||
|
||||
@ -4,7 +4,7 @@ module.exports = {
|
||||
env: {
|
||||
NODE_ENV: '"pre"',
|
||||
},
|
||||
outputRoot: 'build',
|
||||
outputRoot: 'dist',
|
||||
defineConstants: {
|
||||
CURRENT_BASE_URL: '"https://pre.zzfzyc.com/lymarket"',
|
||||
CURRENT_CAP_HTML_TO_IMAGE_BASE_URL: '"https://pre.zzfzyc.com"',
|
||||
|
||||
@ -25,7 +25,7 @@ const ProductClassLine = memo((option: ParamProduct) => {
|
||||
|
||||
useEffect(() => {
|
||||
let data: { item: any; index: number } = { item: null, index: 0 }
|
||||
list?.filter((item, index) => {
|
||||
list?.forEach((item, index) => {
|
||||
if (item.id == defaultSelectId) {
|
||||
data = { item, index }
|
||||
}
|
||||
@ -124,3 +124,4 @@ const PrcductSub = (option: Param) => {
|
||||
</>
|
||||
)
|
||||
}
|
||||
export default PrcductSub
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user