修复模版几个问题

This commit is contained in:
Wang Kejun 2023-10-26 18:44:34 +08:00
parent 9a4d7795c1
commit 85857cb431
4 changed files with 8 additions and 8 deletions

View File

@ -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)},

View File

@ -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)},

View File

@ -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';

View File

@ -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';