Skip to content

Commit

Permalink
spell uri fix
Browse files Browse the repository at this point in the history
  • Loading branch information
penndev committed Jul 28, 2024
1 parent a411e48 commit 6b3bfc9
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 5 deletions.
4 changes: 2 additions & 2 deletions src/apis/system/accesslog.js → src/apis/system/access.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import service from '@/utils/request'

export const getSystemAccesslog = (params) => {
export const getSystemAccessLog = (params) => {
return service({
url: '/system/admin/accesslog',
url: '/system/admin/access-log',
method: 'get',
params
})
Expand Down
3 changes: 3 additions & 0 deletions src/views/layout/components/NavBar/ChangePasswd.vue
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
<el-input
v-model="dialog.form.passwd"
type="password"
show-password
/>
</el-form-item>
<el-form-item
Expand All @@ -36,6 +37,7 @@
<el-input
v-model="dialog.form.newPasswd"
type="password"
show-password
/>
</el-form-item>
<el-form-item
Expand All @@ -45,6 +47,7 @@
<el-input
v-model="dialog.form.conformPasswd"
type="password"
show-password
/>
</el-form-item>
</el-form>
Expand Down
4 changes: 2 additions & 2 deletions src/views/system/accesslog.vue
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@
</template>
<script setup>
import { ref } from 'vue'
import { getSystemAccesslog } from '@/apis/system/accesslog'
import { getSystemAccessLog } from '@/apis/system/access'
const table = ref({
total: 0,
Expand Down Expand Up @@ -133,7 +133,7 @@ const handleSortChange = ({ column, prop, order }) => {
handleTableData()
}
const handleTableData = () => {
getSystemAccesslog(table.value.query).then((result) => {
getSystemAccessLog(table.value.query).then((result) => {
table.value.data = result.data
table.value.total = result.total
})
Expand Down
6 changes: 5 additions & 1 deletion src/views/system/administrator.vue
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,11 @@
label="密码"
prop="passwd"
>
<el-input v-model="dialog.form.passwd" />
<el-input
v-model="dialog.form.passwd"
type="password"
show-password
/>
</el-form-item>
<el-form-item
label="昵称"
Expand Down

0 comments on commit 6b3bfc9

Please sign in to comment.