@jx3box/jx3box-common-ui 5.9.0 → 5.9.3
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": "@jx3box/jx3box-common-ui",
|
|
3
|
-
"version": "5.9.
|
|
3
|
+
"version": "5.9.3",
|
|
4
4
|
"description": "JX3BOX UI",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -31,8 +31,8 @@
|
|
|
31
31
|
],
|
|
32
32
|
"dependencies": {
|
|
33
33
|
"@jx3box/jx3box-comment-ui": "^1.7.0",
|
|
34
|
-
"@jx3box/jx3box-common": "^7.3.
|
|
35
|
-
"@jx3box/jx3box-data": "^1.
|
|
34
|
+
"@jx3box/jx3box-common": "^7.3.5",
|
|
35
|
+
"@jx3box/jx3box-data": "^1.10.2",
|
|
36
36
|
"@jx3box/jx3box-editor": "^1.3.2",
|
|
37
37
|
"axios": "^0.26.1",
|
|
38
38
|
"dayjs": "^1.11.0",
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
<Contributors v-if="authors && authors.length" :authors="authors" @chosen="handleChosen" />
|
|
23
23
|
<div class="u-points">
|
|
24
24
|
<el-radio-group v-model="count">
|
|
25
|
-
<el-radio :label="item" v-for="item in
|
|
25
|
+
<el-radio :label="item" v-for="item in fitPoints" :key="item" border>
|
|
26
26
|
<b>{{item}}</b>盒币
|
|
27
27
|
</el-radio>
|
|
28
28
|
</el-radio-group>
|
|
@@ -92,6 +92,9 @@ export default {
|
|
|
92
92
|
hostClient : function (){
|
|
93
93
|
return location.href.includes('origin') ? 'origin' : 'std'
|
|
94
94
|
},
|
|
95
|
+
fitPoints : function (){
|
|
96
|
+
return this.points.filter(item => item <= this.left)
|
|
97
|
+
},
|
|
95
98
|
},
|
|
96
99
|
watch: {
|
|
97
100
|
own : function (val){
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
<Contributors v-if="authors && authors.length" :authors="authors" @chosen="handleChosen" />
|
|
19
19
|
<div class="u-points">
|
|
20
20
|
<el-radio-group v-model="count">
|
|
21
|
-
<el-radio :label="item" v-for="item in
|
|
21
|
+
<el-radio :label="item" v-for="item in fitPoints" :key="item" border>
|
|
22
22
|
<b>{{item}}</b>盒币
|
|
23
23
|
</el-radio>
|
|
24
24
|
</el-radio-group>
|
|
@@ -84,6 +84,9 @@ export default {
|
|
|
84
84
|
},
|
|
85
85
|
hostClient : function (){
|
|
86
86
|
return location.href.includes('origin') ? 'origin' : 'std'
|
|
87
|
+
},
|
|
88
|
+
fitPoints : function (){
|
|
89
|
+
return this.points.filter(item => item <= this.left)
|
|
87
90
|
}
|
|
88
91
|
},
|
|
89
92
|
watch: {
|
|
@@ -45,7 +45,6 @@
|
|
|
45
45
|
import WikiPanel from "./WikiPanel";
|
|
46
46
|
import Comment from "./WikiComment.vue";
|
|
47
47
|
import { wikiComment } from "@jx3box/jx3box-common/js/wiki";
|
|
48
|
-
import qs from "qs";
|
|
49
48
|
import User from "@jx3box/jx3box-common/js/user";
|
|
50
49
|
|
|
51
50
|
export default {
|
|
@@ -126,7 +125,7 @@ export default {
|
|
|
126
125
|
},
|
|
127
126
|
client: this.client
|
|
128
127
|
}
|
|
129
|
-
wikiComment.post({ data
|
|
128
|
+
wikiComment.post({ data }, {})
|
|
130
129
|
.then(
|
|
131
130
|
(res) => {
|
|
132
131
|
res = res.data;
|