File tree Expand file tree Collapse file tree 3 files changed +17
-23
lines changed Expand file tree Collapse file tree 3 files changed +17
-23
lines changed Original file line number Diff line number Diff line change @@ -50,15 +50,15 @@ Vue.use(VueTour)
50
50
Vue . config . productionTip = false
51
51
52
52
// 百度统计
53
- // if (localStorage.getItem('useStats') !== '0') {
54
- // window._hmt = window._hmt || [];
55
- // (function () {
56
- // let hm = document.createElement('script')
57
- // hm.src = 'https://hm.baidu.com/hm.js?c35e3a563a06caee2524902c81975add'
58
- // let s = document.getElementsByTagName('script')[0]
59
- // s.parentNode.insertBefore(hm, s)
60
- // })()
61
- // }
53
+ if ( localStorage . getItem ( 'useStats' ) !== '0' ) {
54
+ window . _hmt = window . _hmt || [ ] ;
55
+ ( function ( ) {
56
+ const hm = document . createElement ( 'script' )
57
+ hm . src = 'https://hm.baidu.com/hm.js?c35e3a563a06caee2524902c81975add'
58
+ const s = document . getElementsByTagName ( 'script' ) [ 0 ]
59
+ s . parentNode . insertBefore ( hm , s )
60
+ } ) ( )
61
+ }
62
62
63
63
// inject request api
64
64
Vue . prototype . $request = request
Original file line number Diff line number Diff line change @@ -53,12 +53,6 @@ const user = {
53
53
// 获取用户信息
54
54
getInfo ( { commit, state } ) {
55
55
return request . get ( '/me' )
56
- . then ( response => {
57
- // ensure compatibility
58
- if ( response . data . data . setting && ! response . data . data . setting . max_error_log ) {
59
- response . data . data . setting . max_error_log = 1000
60
- }
61
- } )
62
56
} ,
63
57
64
58
// 登出
Original file line number Diff line number Diff line change 227
227
// tutorial
228
228
tourSteps: [
229
229
{
230
- target: ' .filter-form ' ,
230
+ target: ' .filter' ,
231
231
content: this .$t (' You can filter tasks from this area.' )
232
232
},
233
233
{
237
237
{
238
238
target: ' .table .el-table__body-wrapper tr:nth-child(1)' ,
239
239
content: this .$t (' Click the row to or the view button to view the task detail.' )
240
- },
241
- {
242
- target: ' .table tr td:nth-child(1)' ,
243
- content: this .$t (' Tick and select the tasks you would like to delete in batches.' ),
244
- params: {
245
- placement: ' right'
246
- }
247
240
}
241
+ // {
242
+ // target: '.table tr td:nth-child(1)',
243
+ // content: this.$t('Tick and select the tasks you would like to delete in batches.'),
244
+ // params: {
245
+ // placement: 'right'
246
+ // }
247
+ // }
248
248
],
249
249
tourCallbacks: {
250
250
onStop : () => {
You can’t perform that action at this time.
0 commit comments