From b4dd0687c7285f3be32860adccfa523a62bfd4c6 Mon Sep 17 00:00:00 2001
From: 李 <344137771@qq.com>
Date: Fri, 05 Jun 2026 11:19:37 +0800
Subject: [PATCH] 1
---
src/views/modules/config/news-config.vue | 40 ++++++----------------------------------
1 files changed, 6 insertions(+), 34 deletions(-)
diff --git a/src/views/modules/config/news-config.vue b/src/views/modules/config/news-config.vue
index bca011d..81dbaeb 100644
--- a/src/views/modules/config/news-config.vue
+++ b/src/views/modules/config/news-config.vue
@@ -67,19 +67,7 @@
@keyup.enter.native="dataFormSubmit()"
label-width="80px"
>
- <el-form-item
- label="登录人资金密码"
- :label-width="formLabelWidth"
- prop="loginSafeword"
- >
- <el-input
- v-model="loginSafeword"
- type="password"
- placeholder="登录人资金密码"
- autocomplete="off"
- ></el-input>
- </el-form-item>
- </el-form>
+</el-form>
<div slot="footer" class="dialog-footer">
<el-button @click="dialogFormVisible = false">取 消</el-button>
<el-button type="primary" @click="dataFormSubmit()">确 定</el-button>
@@ -222,8 +210,7 @@
url: this.$http.adornUrl(`/news/delete`),
method: "post",
data: this.$http.adornData({
- id: id,
- loginSafeword: encrypt(this.loginSafeword), //资金密码
+ id: id //资金密码
}),
}).then(({ data }) => {
if (data.code == 0) {
@@ -248,23 +235,9 @@
});
},
Open(call) {
- this.$prompt("登录人资金密码", "提示", {
- confirmButtonText: "确定",
- cancelButtonText: "取消",
- })
- .then(({ value }) => {
- this.loginSafeword = value;
- if (call) {
- call();
- }
- })
- .catch((e) => {
- console.log("error = " + e);
- this.$message({
- type: "info",
- message: "取消输入",
- });
- });
+ if (call) {
+ call();
+ }
},
// 表单提交
dataFormSubmit: Debounce(function () {
@@ -275,8 +248,7 @@
url: this.$http.adornUrl(`/news/delete`),
method: "post",
data: this.$http.adornData({
- id: this.deleteId,
- loginSafeword: encrypt(this.loginSafeword), //资金密码
+ id: this.deleteId //资金密码
}),
}).then(({ data }) => {
if (data.code == 0) {
--
Gitblit v1.9.3