Commit 7529dfc9 authored by lipengcheng 's avatar lipengcheng

一些优化

parent 2e6fd5ed
......@@ -39,7 +39,7 @@ module.exports = {
// "prettier/prettier": "warn",
// "no-console": process.env.NODE_ENV === "production" ? "warn" : "off",
'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: [
'error',
4,
......@@ -73,6 +73,13 @@ module.exports = {
svg: 'never',
math: 'always'
}
],
'vue/html-closing-bracket-newline': [
'error',
{
singleline: 'never',
multiline: 'never'
}
]
}
}
......@@ -5,7 +5,9 @@
当前的宝
</div>
<tip-panel></tip-panel>
<div class="show-modal" @click="showModal">
<div
class="show-modal"
@click="showModal">
show-modal
</div>
</div>
......
......@@ -3,7 +3,8 @@
<common-header></common-header>
<body class="body-container">
<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>
</body>
</div>
......
<template>
<div class="comp-bao2">
<h1>home</h1>
<div a="dfsfsdfdsfsfsdfsdfsdfsdfsfsdf" b="dfsfsdfdsfsfsdfsdfsdfsdfsfsdf" c="dfsfsdfdsfsfsdfsdfsdfsdfsfsdf">
<div
a="dfsfsdfdsfsdffsdfsdfsdfsdfsfsdf"
b="dfsfsdfdsfsfsdfsdfsdfsdfsfsdf"
c="dfsfsdfdsfsfsdfsddfsdfsdfsfsdf">
df
</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