@jx3box/jx3box-common-ui 8.6.1 → 8.6.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -227,6 +227,11 @@ export default {
|
|
|
227
227
|
});
|
|
228
228
|
},
|
|
229
229
|
handleCheck() {
|
|
230
|
+
const id = this.post.id;
|
|
231
|
+
if (!id) {
|
|
232
|
+
this.$message.error("ID不存在!");
|
|
233
|
+
return;
|
|
234
|
+
}
|
|
230
235
|
this.$confirm(`此操作将该数据转为 待审核 状态, 是否继续?`, "提示", {
|
|
231
236
|
confirmButtonText: "确定",
|
|
232
237
|
cancelButtonText: "取消",
|
|
@@ -237,7 +242,8 @@ export default {
|
|
|
237
242
|
type: "success",
|
|
238
243
|
message: "操作成功!",
|
|
239
244
|
});
|
|
240
|
-
this
|
|
245
|
+
this.$emit("update:modelValue", false);
|
|
246
|
+
window.location.href = "/community";
|
|
241
247
|
});
|
|
242
248
|
});
|
|
243
249
|
},
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
</div>
|
|
44
44
|
</div>
|
|
45
45
|
<span slot="footer" class="dialog-footer">
|
|
46
|
-
<el-button @click="
|
|
46
|
+
<el-button @click="onClose">取 消</el-button>
|
|
47
47
|
<el-button type="primary" @click="submit" :disabled="!ready || submitting">确 定</el-button>
|
|
48
48
|
</span>
|
|
49
49
|
</el-dialog>
|
|
@@ -162,9 +162,6 @@ export default {
|
|
|
162
162
|
}
|
|
163
163
|
},
|
|
164
164
|
methods: {
|
|
165
|
-
openBoxcoinPop: function () {
|
|
166
|
-
this.visible = true;
|
|
167
|
-
},
|
|
168
165
|
// 选择要打赏的对象
|
|
169
166
|
handleChosen(userId) {
|
|
170
167
|
this.chosen = userId
|
|
@@ -196,7 +193,7 @@ export default {
|
|
|
196
193
|
})
|
|
197
194
|
.finally(() => {
|
|
198
195
|
this.submitting = false;
|
|
199
|
-
this.
|
|
196
|
+
this.onClose();
|
|
200
197
|
});
|
|
201
198
|
},
|
|
202
199
|
insertCurrentRelease: function() {
|