Skip to content

Commit 94de333

Browse files
committed
6.11
1 parent 76ff19e commit 94de333

File tree

2 files changed

+9
-7
lines changed

2 files changed

+9
-7
lines changed

SiteServer.Web/Home/pages/contentAdd.html

+1-7
Original file line numberDiff line numberDiff line change
@@ -63,18 +63,12 @@ <h4 v-else class="card-title text-primary">内容添加成功!</h4>
6363
<label for="ContinueAdd">继续添加内容</label>
6464
</td>
6565
</tr>
66-
<tr>
66+
<tr @click="btnReturnClick">
6767
<td>
6868
<input id="Contents" type="radio" name="Operation" value="Contents">
6969
<label for="Contents">返回管理界面</label>
7070
</td>
7171
</tr>
72-
<tr>
73-
<td>
74-
<input id="Translate" type="radio" name="Operation" value="Translate">
75-
<label for="Translate">转发到其他站点</label>
76-
</td>
77-
</tr>
7872
</tbody>
7973
</table>
8074
</div>

SiteServer.Web/Home/pages/contentAdd.js

+8
Original file line numberDiff line numberDiff line change
@@ -268,6 +268,14 @@ var methods = {
268268
location.reload();
269269
},
270270

271+
btnReturnClick: function () {
272+
var url = "contents.html?siteId=" +
273+
this.site.id +
274+
"&channelId=" +
275+
this.channel.id;
276+
location.href = url;
277+
},
278+
271279
btnSubmitClick: function () {
272280
var $this = this;
273281
this.pageAlert = null;

0 commit comments

Comments
 (0)