@@ -226,8 +226,8 @@ export default {
return {
flag: false,
form: {
- name: 'adminzj',
- pass: '123456'
+ name: '',
+ pass: ''
},
rules: {
name: [
@@ -472,8 +472,10 @@ export default {
type: 'number',
precision: 2,
formatter: (val, value, label) => {
- if (val && val.length > 0) {
+ if (value) {
return val.total_amount.toLocaleString()
+ } else {
+ return 0
}
@@ -43,9 +43,6 @@
placement="bottom"
raw-content
>
- <el-icon size="16">
- <Warning />
- </el-icon>
</el-tooltip>
</div>
<div
@@ -133,6 +130,7 @@ import { useStore } from '@/store/user.js'
export default {
name: 'index',
+ // eslint-disable-next-line vue/no-unused-components
components: { BasicContainer, left, years, amount, chart, chart2, complete },
setup() {
const user = useStore()