super-pages 0.7.58 → 0.7.59
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "super-pages",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.59",
|
|
4
4
|
"description": "页面组件",
|
|
5
5
|
"main": "lib/super-pages.umd.min.js",
|
|
6
6
|
"keyword": "super-pages",
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"eslint": "5.16.0",
|
|
28
28
|
"eslint-plugin-vue": "5.2.2",
|
|
29
29
|
"font-awesome": "^4.7.0",
|
|
30
|
-
"imatrix-ui": "2.8.
|
|
30
|
+
"imatrix-ui": "2.8.24",
|
|
31
31
|
"node-sass": "4.12.0",
|
|
32
32
|
"normalize.css": "^8.0.1",
|
|
33
33
|
"nprogress": "^0.2.0",
|
|
@@ -318,7 +318,7 @@ const buttonEvents = {
|
|
|
318
318
|
})
|
|
319
319
|
}
|
|
320
320
|
if (request) {
|
|
321
|
-
button.loading = true
|
|
321
|
+
// button.loading = true
|
|
322
322
|
request.then(data => {
|
|
323
323
|
// 刷新列表组件
|
|
324
324
|
this.refreshMyList(button.successOperation)
|
|
@@ -333,9 +333,10 @@ const buttonEvents = {
|
|
|
333
333
|
entity: this.selections
|
|
334
334
|
})
|
|
335
335
|
this.selections = []
|
|
336
|
-
button.loading = false
|
|
336
|
+
// button.loading = false
|
|
337
337
|
}).catch(e => {
|
|
338
|
-
|
|
338
|
+
// 注释原因:抛出BusinessException时,删除按钮的loading状态不会清除
|
|
339
|
+
// button.loading = false
|
|
339
340
|
})
|
|
340
341
|
}
|
|
341
342
|
}).catch(() => {})
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
|
|
2
2
|
import store from './store'
|
|
3
|
-
import {getLanguageWithLocale} from '
|
|
3
|
+
import {getLanguageWithLocale} from 'imatrix-ui/src/utils/util'
|
|
4
4
|
// 获得store中缓存的信息。返回的是Object对象,不是json字符串
|
|
5
5
|
export function getStoreInfo (pageCode, key) {
|
|
6
6
|
const pageCodeStoreInfo = store.get(pageCode)
|
package/src/utils/common-util.js
CHANGED