Commit 3fdc97fa authored by lipengcheng 's avatar lipengcheng

一些优化

parent 30b9a376
...@@ -30,7 +30,7 @@ module.exports = { ...@@ -30,7 +30,7 @@ module.exports = {
'no-debugger': process.env.NODE_ENV === 'production' ? 'warn' : 'off', 'no-debugger': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
indent: [ indent: [
'error', 'error',
4, 2,
{ {
SwitchCase: 1, SwitchCase: 1,
flatTernaryExpressions: true flatTernaryExpressions: true
...@@ -41,7 +41,7 @@ module.exports = { ...@@ -41,7 +41,7 @@ module.exports = {
semi: ['error', 'never'], semi: ['error', 'never'],
'vue/html-indent': [ 'vue/html-indent': [
'error', 'error',
4, 2,
{ {
attribute: 1, attribute: 1,
baseIndent: 1, baseIndent: 1,
......
<template> <template>
<div class="comp-bao2"> <div class="comp-bao2">
<h1>home</h1> <h1>home</h1>
<input <input
ref="input" ref="input"
type="file" type="file"
:accept="accept" :accept="accept"
name="files[]" name="files[]"
style="display:none;" style="display:none;"
aaa="dfsdfsfsdfdsfsdfdsfsdfdsf" aaa="dfsdfsfsdfddfsdfsfsdfdsfsdfdsf"
> >
<videoPlayer <videoPlayer
aaa="dfasfsdffdsdsffdsfdfdsf" aaa="dfasfsdffdsdfsdsffdsfdfdsf"
bbb="fsfdsfsdfdsfdsfdsfdsfdfdsf" bbb="fsfdsfsdfdsfdsfdsfdsfdfdsf"
ccc="fsfdsfsdfdsfdsfdsfdsfdfdsf" ccc="fsfdsfsdfdsfdsfdsfdsfdfdsf"
></videoPlayer> ></videoPlayer>
</div> </div>
</template> </template>
<script> <script>
export default { export default {
data() { data() {
return {} return {}
}, },
created() {}, created() {},
mounted() {} mounted() {}
} }
</script> </script>
......
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