diff --git a/prettier.config.js b/prettier.config.js new file mode 100644 index 0000000..ddbd174 --- /dev/null +++ b/prettier.config.js @@ -0,0 +1,20 @@ +module.exports = { + printWidth: 150, + tabWidth: 4, + useTabs: false, + semi: true, //语句末尾使用分号 + vueIndentScriptAndStyle: true, + singleQuote: true, // 使用单引号 + quoteProps: 'as-needed', + bracketSpacing: true, + trailingComma: 'es5', + jsxBracketSameLine: false, + jsxSingleQuote: false, + arrowParens: 'always', + insertPragma: false, + requirePragma: false, + proseWrap: 'never', + htmlWhitespaceSensitivity: 'strict', + endOfLine: 'auto', + rangeStart: 0, +}; diff --git a/src/components/chinaMap/chinaMap.vue b/src/components/chinaMap/chinaMap.vue index 7345f02..d319a00 100644 --- a/src/components/chinaMap/chinaMap.vue +++ b/src/components/chinaMap/chinaMap.vue @@ -9,13 +9,13 @@
- + - + @@ -34,23 +34,23 @@
- - - - - - - - - - - - - - - - - +

向东行驶124米左转

+

向西北行驶92米左转

+

向西南行驶45米右转

+

向西北行驶50米右转

+

沿燕庆街向东北行驶157米左转

+

向西北行驶47米左转

+

向西行驶97米右转进入主路

+

沿新华东路向西行驶1.1千米右转进入主路

+

沿友爱街向北行驶5.9千米右转

+

沿417乡道向东北行驶49米右转

+

沿417乡道向东行驶1.1千米左转

+

沿417乡道向北行驶8.3千米左转

+

向西北行驶47米左转

+

向西行驶97米右转进入主路

+

沿新华东路向西行驶1.1千米右转进入主路

+

沿友爱街向北行驶5.9千米右转

+

沿417乡道向东北行驶49米右转

沿417乡道向东行驶1.1千米左转

沿417乡道向北行驶8.3千米左转

向西北行驶4.9千米到达目的地

@@ -79,9 +79,10 @@