|
@@ -71,6 +71,7 @@ const canSubmit = computed(() => {
|
|
|
|
|
|
function doSubmit(type) {
|
|
|
if (!type) {
|
|
|
+ pluginLogin.handleSuccess('set-pass', { status: 0 })
|
|
|
pluginLogin.close()
|
|
|
return
|
|
|
}
|
|
@@ -85,7 +86,7 @@ function doSubmit(type) {
|
|
|
ajaxSetPass(params)
|
|
|
.then(({ data }) => {
|
|
|
if (data) {
|
|
|
- pluginLogin.handleSuccess('set-pass', data)
|
|
|
+ pluginLogin.handleSuccess('set-pass', { status: 1 })
|
|
|
pluginLogin.close()
|
|
|
} else {
|
|
|
formNode.value.showError(1, '密码保存失败')
|