|
|
@@ -82,7 +82,7 @@
|
|
|
type="danger"
|
|
|
Updated
|
|
|
upstream
|
|
|
- @click="back()">返回</el-button>
|
|
|
+ @click="back()">关闭</el-button>
|
|
|
</el-col>
|
|
|
</el-row>
|
|
|
</el-form>
|
|
|
@@ -484,14 +484,14 @@ export default {
|
|
|
},
|
|
|
// 关闭页面
|
|
|
...mapActions('d2admin/page', [
|
|
|
- 'close'
|
|
|
+ 'close_return'
|
|
|
]),
|
|
|
// 关闭
|
|
|
back () {
|
|
|
- this.$router.push({ path: '/duty' })
|
|
|
-
|
|
|
- // let tagName = this.current
|
|
|
- // this.close({ tagName })
|
|
|
+ this.close_return({
|
|
|
+ tagName: this.$route.fullPath,
|
|
|
+ returnTagName: '/duty'
|
|
|
+ })
|
|
|
}
|
|
|
}
|
|
|
}
|