json oakDisablePulldownRefresh改成 enablePullDownRefresh 和小程序统一
This commit is contained in:
parent
ec97fbf7bd
commit
0aade57616
|
|
@ -185,7 +185,7 @@ function getRouter({ projectAlias, path, namespace, routePath, isFirst }) {
|
|||
if (jsonFileExists) {
|
||||
const {
|
||||
navigationBarTitleText,
|
||||
oakDisablePulldownRefresh = false,
|
||||
enablePullDownRefresh = true,
|
||||
} = require(`${relPath}.json`);
|
||||
meta.push(
|
||||
t.objectProperty(
|
||||
|
|
@ -196,7 +196,7 @@ function getRouter({ projectAlias, path, namespace, routePath, isFirst }) {
|
|||
meta.push(
|
||||
t.objectProperty(
|
||||
t.identifier('oakDisablePulldownRefresh'),
|
||||
t.booleanLiteral(oakDisablePulldownRefresh) //默认启用下拉刷新
|
||||
t.booleanLiteral(!enablePullDownRefresh) //默认启用下拉刷新
|
||||
)
|
||||
);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue