Commit 7529dfc9 authored by lipengcheng 's avatar lipengcheng

一些优化

parent 2e6fd5ed
...@@ -39,7 +39,7 @@ module.exports = { ...@@ -39,7 +39,7 @@ module.exports = {
// "prettier/prettier": "warn", // "prettier/prettier": "warn",
// "no-console": process.env.NODE_ENV === "production" ? "warn" : "off", // "no-console": process.env.NODE_ENV === "production" ? "warn" : "off",
'no-console': [0, { llow: ['warn', 'error'] }], 'no-console': [0, { llow: ['warn', 'error'] }],
'no-debugger': process.env.NODE_ENV === 'production' ? 'warn' : 'off', 'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off',
indent: [ indent: [
'error', 'error',
4, 4,
...@@ -73,6 +73,13 @@ module.exports = { ...@@ -73,6 +73,13 @@ module.exports = {
svg: 'never', svg: 'never',
math: 'always' math: 'always'
} }
],
'vue/html-closing-bracket-newline': [
'error',
{
singleline: 'never',
multiline: 'never'
}
] ]
} }
} }
...@@ -5,7 +5,9 @@ ...@@ -5,7 +5,9 @@
当前的宝 当前的宝
</div> </div>
<tip-panel></tip-panel> <tip-panel></tip-panel>
<div class="show-modal" @click="showModal"> <div
class="show-modal"
@click="showModal">
show-modal show-modal
</div> </div>
</div> </div>
......
...@@ -3,7 +3,8 @@ ...@@ -3,7 +3,8 @@
<common-header></common-header> <common-header></common-header>
<body class="body-container"> <body class="body-container">
<side-nav></side-nav> <side-nav></side-nav>
<router-view style="flex:1;border: 1px solid #666;"> </router-view> <router-view style="flex:1;border: 1px solid #666;">
</router-view>
<right-panel></right-panel> <right-panel></right-panel>
</body> </body>
</div> </div>
......
<template> <template>
<div class="comp-bao2"> <div class="comp-bao2">
<h1>home</h1> <h1>home</h1>
<div a="dfsfsdfdsfsfsdfsdfsdfsdfsfsdf" b="dfsfsdfdsfsfsdfsdfsdfsdfsfsdf" c="dfsfsdfdsfsfsdfsdfsdfsdfsfsdf"> <div
a="dfsfsdfdsfsdffsdfsdfsdfsdfsfsdf"
b="dfsfsdfdsfsfsdfsdfsdfsdfsfsdf"
c="dfsfsdfdsfsfsdfsddfsdfsdfsfsdf">
df df
</div> </div>
</div> </div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment