@netang/quasar 0.0.60 → 0.0.62
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/README.md +1 -1
- package/components/drawer/index.vue +1 -1
- package/components/private/edit-power-data/index.vue +2 -2
- package/components/render/index.vue +1 -1
- package/components/splitter/index.vue +1 -1
- package/package.json +1 -1
- package/utils/$auth.js +1 -1
- package/utils/$power.js +1 -1
- package/utils/$table.js +1 -1
- package/utils/$tree.js +1 -1
package/README.md
CHANGED
|
@@ -6,7 +6,7 @@ npm install @netang/quasar --save-dev
|
|
|
6
6
|
|
|
7
7
|
Install mandatory peer dependencies
|
|
8
8
|
```bash
|
|
9
|
-
npm install @netang/utils
|
|
9
|
+
npm install @netang/utils quasar @quasar/extras lodash axios bignumber.js spark-md5 xregexp --save-dev
|
|
10
10
|
```
|
|
11
11
|
|
|
12
12
|
## License
|
|
@@ -25,7 +25,7 @@ import { useQuasar } from 'quasar'
|
|
|
25
25
|
|
|
26
26
|
import $n_isNil from 'lodash/isNil'
|
|
27
27
|
|
|
28
|
-
import $n_router from '@netang/
|
|
28
|
+
import $n_router from '@netang/utils/vue/router'
|
|
29
29
|
|
|
30
30
|
import $n_storage from '@netang/utils/storage'
|
|
31
31
|
import $n_sleep from '@netang/utils/sleep'
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
<!-- 树 -->
|
|
17
17
|
<n-field-tree
|
|
18
18
|
class="n-field-fieldset"
|
|
19
|
-
:label="
|
|
19
|
+
:label="dataType === dicts.POWER_DATA_TYPE__OPEN ? '跳转页面' : '重定向 URL'"
|
|
20
20
|
outlined
|
|
21
21
|
clearable
|
|
22
22
|
stack-label
|
|
@@ -779,7 +779,7 @@ export default {
|
|
|
779
779
|
if ($n_isValidValue(props.url)) {
|
|
780
780
|
// 轻提示
|
|
781
781
|
$n_toast({
|
|
782
|
-
message: `如果定义了【${props.
|
|
782
|
+
message: `如果定义了【${props.dataType === dicts.POWER_DATA_TYPE__OPEN ? '跳转页面' : '重定向 URL'}】,则 URL 必须为空`,
|
|
783
783
|
})
|
|
784
784
|
return false
|
|
785
785
|
}
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
import { computed, ref, watch, inject } from 'vue'
|
|
27
27
|
import { useQuasar } from 'quasar'
|
|
28
28
|
|
|
29
|
-
import $n_router from '@netang/
|
|
29
|
+
import $n_router from '@netang/utils/vue/router'
|
|
30
30
|
|
|
31
31
|
import $n_storage from '@netang/utils/storage'
|
|
32
32
|
import $n_sleep from '@netang/utils/sleep'
|
package/package.json
CHANGED
package/utils/$auth.js
CHANGED
package/utils/$power.js
CHANGED
|
@@ -10,7 +10,7 @@ import $n_isNumber from 'lodash/isNumber'
|
|
|
10
10
|
import $n_cloneDeep from 'lodash/cloneDeep'
|
|
11
11
|
import $n_isFunction from 'lodash/isFunction'
|
|
12
12
|
|
|
13
|
-
import $n_router from '@netang/
|
|
13
|
+
import $n_router from '@netang/utils/vue/router'
|
|
14
14
|
|
|
15
15
|
import $n_isValidArray from '@netang/utils/isValidArray'
|
|
16
16
|
import $n_isValidObject from '@netang/utils/isValidObject'
|
package/utils/$table.js
CHANGED
|
@@ -11,7 +11,7 @@ import $n_uniq from 'lodash/uniq'
|
|
|
11
11
|
import $n_concat from 'lodash/concat'
|
|
12
12
|
import $n_isNil from 'lodash/isNil'
|
|
13
13
|
|
|
14
|
-
import $n_router from '@netang/
|
|
14
|
+
import $n_router from '@netang/utils/vue/router'
|
|
15
15
|
|
|
16
16
|
import $n_forEach from '@netang/utils/forEach'
|
|
17
17
|
import $n_isValidArray from '@netang/utils/isValidArray'
|
package/utils/$tree.js
CHANGED
|
@@ -4,7 +4,7 @@ import $n_isNil from 'lodash/isNil'
|
|
|
4
4
|
import $n_findIndex from 'lodash/findIndex'
|
|
5
5
|
import $n_cloneDeep from 'lodash/cloneDeep'
|
|
6
6
|
|
|
7
|
-
import $n_router from '@netang/
|
|
7
|
+
import $n_router from '@netang/utils/vue/router'
|
|
8
8
|
|
|
9
9
|
import $n_isValidArray from '@netang/utils/isValidArray'
|
|
10
10
|
import $n_isValidObject from '@netang/utils/isValidObject'
|