修复模版几个问题
This commit is contained in:
parent
9a4d7795c1
commit
85857cb431
|
|
@ -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)},
|
||||
|
|
|
|||
|
|
@ -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)},
|
||||
|
|
|
|||
|
|
@ -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';
|
||||
|
||||
|
|
|
|||
|
|
@ -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';
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue