Merge pull request #14 from syncfusion/Task-847099-routing-issue
sample(847099): Fix the routing issue
This commit is contained in:
Коммит
3fca076437
|
@ -583,7 +583,7 @@ export default Vue.extend({
|
|||
if (args.text !== 'Dashboard') {
|
||||
vuePath += args.text.replace(' ', '')
|
||||
}
|
||||
this.$router.push({ path: vuePath })
|
||||
this.$router.push({ path: vuePath }).catch(()=>{})
|
||||
this.$refs.notifybarObj.hide()
|
||||
},
|
||||
openClick: function () {
|
||||
|
|
|
@ -164,7 +164,7 @@ export default Vue.extend({
|
|||
var row = rowObj.data
|
||||
|
||||
var grid = document.querySelector('.e-grid')['ej2_instances'][0]
|
||||
var index = grid.selectedRowIndex
|
||||
var index = parseInt(args.target.closest('td').getAttribute('index'))
|
||||
grid.editModule.updateRow(index, {'TaskID': row['TaskID'], 'Status': 'Approved'})
|
||||
|
||||
var activity = {
|
||||
|
|
Загрузка…
Ссылка в новой задаче