diff --git a/lib/template.js b/lib/template.js index 80b41b8..48fd0ff 100644 --- a/lib/template.js +++ b/lib/template.js @@ -512,9 +512,9 @@ function projectConfigContentWithWeChatMp(oakConfigName, projectname, miniVersio exports.projectConfigContentWithWeChatMp = projectConfigContentWithWeChatMp; function appJsonContentWithWeChatMp(isDev) { const pages = [ - '@project/pages/book/list/index', - '@project/pages/book/upsert/index', - '@project/pages/book/detail/index', + '@project/pages/store/list/index', + '@project/pages/store/upsert/index', + '@project/pages/store/detail/index', ]; return `{ "pages":${JSON.stringify(pages, null, 4)}, diff --git a/src/template.ts b/src/template.ts index ef0d0e6..56e97f7 100644 --- a/src/template.ts +++ b/src/template.ts @@ -524,9 +524,9 @@ export function projectConfigContentWithWeChatMp( export function appJsonContentWithWeChatMp(isDev: boolean) { const pages = [ - '@project/pages/book/list/index', - '@project/pages/book/upsert/index', - '@project/pages/book/detail/index', + '@project/pages/store/list/index', + '@project/pages/store/upsert/index', + '@project/pages/store/detail/index', ]; return `{ "pages":${JSON.stringify(pages, null, 4)}, diff --git a/template/src/pages/store/detail/web.tsx b/template/src/pages/store/detail/web.tsx index 6101cb2..cc22f51 100644 --- a/template/src/pages/store/detail/web.tsx +++ b/template/src/pages/store/detail/web.tsx @@ -1,5 +1,5 @@ import React, { useState, useRef } from 'react'; -import Style from './web.pc.module.less'; +import Style from './web.module.less'; import { WebComponentProps } from 'oak-frontend-base'; import { EntityDict } from '@oak-app-domain'; diff --git a/template/src/pages/store/upsert/web.tsx b/template/src/pages/store/upsert/web.tsx index 6101cb2..cc22f51 100644 --- a/template/src/pages/store/upsert/web.tsx +++ b/template/src/pages/store/upsert/web.tsx @@ -1,5 +1,5 @@ import React, { useState, useRef } from 'react'; -import Style from './web.pc.module.less'; +import Style from './web.module.less'; import { WebComponentProps } from 'oak-frontend-base'; import { EntityDict } from '@oak-app-domain';