Commit 9fb94ecc by Sendya

fix: eslint rules

parent 71049876
...@@ -55,6 +55,7 @@ ...@@ -55,6 +55,7 @@
} }
}], }],
"vue/attribute-hyphenation": 0, "vue/attribute-hyphenation": 0,
"vue/html-self-closing": 0,
"no-console": 0 "no-console": 0
} }
}, },
......
...@@ -11,13 +11,11 @@ ...@@ -11,13 +11,11 @@
<a-layout> <a-layout>
<!-- layout header --> <!-- layout header -->
<layout-header :collapsed="collapsed" @toggle="toggle"> <layout-header :collapsed="collapsed" @toggle="toggle"/>
</layout-header>
<!-- layout content --> <!-- layout content -->
<a-layout-content :style="{ margin: '24px 24px 0', height: '100%' }"> <a-layout-content :style="{ margin: '24px 24px 0', height: '100%' }">
<!-- content --> <!-- content -->
<slot></slot> <slot/>
</a-layout-content> </a-layout-content>
<a-layout-footer style="padding: 0px"> <a-layout-footer style="padding: 0px">
......
...@@ -6,9 +6,9 @@ ...@@ -6,9 +6,9 @@
<a-step title="完成" /> <a-step title="完成" />
</a-steps> </a-steps>
<div class="content"> <div class="content">
<step1 v-if="currentTab === 0" @nextStep="nextStep"></step1> <step1 v-if="currentTab === 0" @nextStep="nextStep"/>
<step2 v-if="currentTab === 1" @nextStep="nextStep" @prevStep="prevStep"></step2> <step2 v-if="currentTab === 1" @nextStep="nextStep" @prevStep="prevStep"/>
<step3 v-if="currentTab === 2" @prevStep="prevStep" @finish="finish"></step3> <step3 v-if="currentTab === 2" @prevStep="prevStep" @finish="finish"/>
</div> </div>
</a-card> </a-card>
</template> </template>
......
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