Adding shortcut to go back to user index

parent b6b42988
...@@ -134,6 +134,7 @@ ...@@ -134,6 +134,7 @@
</div> </div>
</div> </div>
</el-form> </el-form>
<button v-shortkey="['b']" @shortkey="pushRoute({name: 'admin.user.users.index'})" v-show="false"></button>
</div> </div>
</template> </template>
......
...@@ -109606,6 +109606,7 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de ...@@ -109606,6 +109606,7 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
// //
// //
// //
//
exports.default = { exports.default = {
mixins: [_ShortcutHelper2.default], mixins: [_ShortcutHelper2.default],
...@@ -110371,7 +110372,24 @@ var render = function() { ...@@ -110371,7 +110372,24 @@ var render = function() {
]) ])
]) ])
] ]
) ),
_vm._v(" "),
_c("button", {
directives: [
{
name: "shortkey",
rawName: "v-shortkey",
value: ["b"],
expression: "['b']"
},
{ name: "show", rawName: "v-show", value: false, expression: "false" }
],
on: {
shortkey: function($event) {
_vm.pushRoute({ name: "admin.user.users.index" })
}
}
})
], ],
1 1
) )
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