diff --git a/packages/create-fes-app/templates/app/h5/.fes.js b/packages/create-fes-app/templates/app/h5/.fes.js index c055ab7d..67e82a07 100644 --- a/packages/create-fes-app/templates/app/h5/.fes.js +++ b/packages/create-fes-app/templates/app/h5/.fes.js @@ -7,9 +7,6 @@ export default { // __VUE_OPTIONS_API__: true, // __VUE_PROD_DEVTOOLS__: false }, - request: { - dataField: '' - }, html: { title: '拉夫德鲁' }, diff --git a/packages/create-fes-app/templates/app/h5/.prettierrc b/packages/create-fes-app/templates/app/h5/.prettierrc deleted file mode 100644 index 29ed0c41..00000000 --- a/packages/create-fes-app/templates/app/h5/.prettierrc +++ /dev/null @@ -1,4 +0,0 @@ -{ - "singleQuote": true, - "trailingComma": "none" -} \ No newline at end of file diff --git a/packages/create-fes-app/templates/app/h5/.prettierrc.js b/packages/create-fes-app/templates/app/h5/.prettierrc.js new file mode 100644 index 00000000..a1cb9fd1 --- /dev/null +++ b/packages/create-fes-app/templates/app/h5/.prettierrc.js @@ -0,0 +1,3 @@ +module.exports = { + ...require("@webank/eslint-config-webank/.prettierrc.js"), +}; \ No newline at end of file diff --git a/packages/create-fes-app/templates/app/h5/package.json b/packages/create-fes-app/templates/app/h5/package.json index 77bbd951..9a56f9aa 100644 --- a/packages/create-fes-app/templates/app/h5/package.json +++ b/packages/create-fes-app/templates/app/h5/package.json @@ -47,7 +47,7 @@ "dependencies": { "@fesjs/fes": "^3.0.0-beta.0", "@fesjs/plugin-icon": "^3.0.0-beta.0", - "@fesjs/plugin-request": "^3.0.0-beta.0", + "@fesjs/plugin-request": "^3.0.0-beta.5", "@fesjs/builder-webpack": "^3.0.0-beta.0", "vue": "^3.2.6", "core-js": "^3.19.2" diff --git a/packages/create-fes-app/templates/app/pc/.prettierrc b/packages/create-fes-app/templates/app/pc/.prettierrc deleted file mode 100644 index 29ed0c41..00000000 --- a/packages/create-fes-app/templates/app/pc/.prettierrc +++ /dev/null @@ -1,4 +0,0 @@ -{ - "singleQuote": true, - "trailingComma": "none" -} \ No newline at end of file diff --git a/packages/create-fes-app/templates/app/pc/.prettierrc.js b/packages/create-fes-app/templates/app/pc/.prettierrc.js new file mode 100644 index 00000000..a1cb9fd1 --- /dev/null +++ b/packages/create-fes-app/templates/app/pc/.prettierrc.js @@ -0,0 +1,3 @@ +module.exports = { + ...require("@webank/eslint-config-webank/.prettierrc.js"), +}; \ No newline at end of file diff --git a/packages/fes-template-vite/.fes.js b/packages/fes-template-vite/.fes.js index 07aa82f0..42a97334 100644 --- a/packages/fes-template-vite/.fes.js +++ b/packages/fes-template-vite/.fes.js @@ -15,9 +15,6 @@ export default { menuTest: ['/', '/menuTest'] } }, - request: { - dataField: 'result' - }, mock: { prefix: '/v2' }, diff --git a/packages/fes-template/.fes.js b/packages/fes-template/.fes.js index 5f3bba80..09d1af45 100644 --- a/packages/fes-template/.fes.js +++ b/packages/fes-template/.fes.js @@ -20,9 +20,6 @@ export default { menuTest: ['/', '/menuTest'] } }, - request: { - dataField: 'result' - }, mock: { prefix: '/v2' },