Commit 1b8c2abf by crushh

update: 切换

parent d43bfe11
...@@ -379,7 +379,6 @@ export default { ...@@ -379,7 +379,6 @@ export default {
const { result } = res; const { result } = res;
this.$message.success('发布成功'); this.$message.success('发布成功');
this.getLink(result); this.getLink(result);
this.$route.meta.refresh = true;
} }
}) })
.finally(_ => { .finally(_ => {
...@@ -414,10 +413,12 @@ export default { ...@@ -414,10 +413,12 @@ export default {
editRenew() { editRenew() {
window.location.href = window.location.origin + `/marketing/#/game/cmh/edit/${this.gameId}`; window.location.href = window.location.origin + `/marketing/#/game/cmh/edit/${this.gameId}`;
window.location.reload(); window.location.reload();
// this.$router.push(`/game/cmh/edit/${this.gameId}`);
}, },
goList() { goList() {
window.close(); if (this.isAdd) {
this.$route.meta.refresh = true;
}
this.$router.push('/game/cmh');
} }
} }
}; };
......
...@@ -94,6 +94,7 @@ import links from '../common/links'; ...@@ -94,6 +94,7 @@ import links from '../common/links';
import { formatDateTimeByType } from '@/utils/index.js'; import { formatDateTimeByType } from '@/utils/index.js';
import img from '@/assets/img/template1/mould_share_page.png'; import img from '@/assets/img/template1/mould_share_page.png';
import dmDropdown from '@/components/dm-drop-down/dm-drop-down'; import dmDropdown from '@/components/dm-drop-down/dm-drop-down';
export default { export default {
components: { components: {
dmDropdown, dmDropdown,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment