优化分类和标签的快捷添加

This commit is contained in:
augushong
2021-06-30 12:43:26 +08:00
parent c089c972d3
commit c3f3d53752
3 changed files with 16 additions and 14 deletions

View File

@@ -391,7 +391,8 @@
}
$.post('{:url("Tag/save")}', {
tags: value
tags: value,
type:'{$Request.param.type}'
}, function (result) {
layer.msg('添加成功')
initTags()
@@ -445,7 +446,8 @@
$.post('{:url("Category/save")}', {
title: title,
pid: pid
pid: pid,
type:'{$Request.param.type}'
}, function (result) {
if (result.code == 0) {
layer.msg('添加成功')