mirror of
https://github.com/YunaiV/ruoyi-vue-pro.git
synced 2026-05-11 00:04:32 +00:00
替换var 为const/let
删除未使用import 替换 == 为 ===
This commit is contained in:
@@ -56,7 +56,7 @@ export default {
|
||||
},
|
||||
// 添加tab页签
|
||||
openPage(title, url, params) {
|
||||
var obj = { path: url, meta: { title: title } }
|
||||
const obj = { path: url, meta: { title: title } }
|
||||
store.dispatch('tagsView/addView', obj);
|
||||
return router.push({ path: url, query: params });
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user