File tree Expand file tree Collapse file tree 6 files changed +23
-17
lines changed
Expand file tree Collapse file tree 6 files changed +23
-17
lines changed Original file line number Diff line number Diff line change 11[package ]
22name = " rnacos-web-dist-wrap"
3- version = " 0.5.9 "
3+ version = " 0.5.10 "
44edition = " 2018"
55authors = [" heqingpan <heqingpan@126.com>" ]
66license = " MIT/Apache-2.0"
Original file line number Diff line number Diff line change 1111 " vue3"
1212 ],
1313 "private" : true ,
14- "version" : " 0.5.9 " ,
14+ "version" : " 0.5.10 " ,
1515 "type" : " module" ,
1616 "scripts" : {
1717 "dev" : " vite" ,
Original file line number Diff line number Diff line change 11import { useI18n } from 'vue-i18n' ;
2- export const createColumns = function (
3- ) {
2+ export const createColumns = function ( ) {
43 const { t } = useI18n ( ) ;
54
65 const columns = [
@@ -17,8 +16,8 @@ export const createColumns = function (
1716 key : 'address' ,
1817 render ( row ) {
1918 return `${ row . ip } :${ row . port } ` ;
20- } ,
21- } ,
19+ }
20+ }
2221 ] ;
2322 return columns ;
2423} ;
Original file line number Diff line number Diff line change @@ -187,8 +187,8 @@ export default defineComponent({
187187 serviceName: row .name ,
188188 namespaceId: namespaceStore .current .value .namespaceId
189189 }
190- });
191- };
190+ });
191+ };
192192 const showDetail = (row ) => {
193193 let protectThreshold = ' 0' ;
194194 if (row .protectThreshold ) {
Original file line number Diff line number Diff line change @@ -75,7 +75,7 @@ import { useRoute } from 'vue-router';
7575
7676export default defineComponent ({
7777 components: {
78- NamespacePopSelect,
78+ NamespacePopSelect
7979 },
8080 setup () {
8181 const { t } = useI18n ();
@@ -128,7 +128,7 @@ export default defineComponent({
128128 if (res .status == 200 ) {
129129 let count = res .data .count ;
130130 let pageSize = paginationReactive .pageSize ;
131- console .info (res)
131+ console .info (res);
132132 dataRef .value = res .data .subscribers ;
133133 paginationReactive .itemCount = count;
134134 paginationReactive .pageCount = Math .round (
@@ -155,22 +155,29 @@ export default defineComponent({
155155 loading: loadingRef,
156156 param: paramRef,
157157 rowKey (rowData ) {
158- return rowData .groupName + ' @@' + rowData .serviceName + ' @@' + rowData .ip + ' :' + rowData .port ;
158+ return (
159+ rowData .groupName +
160+ ' @@' +
161+ rowData .serviceName +
162+ ' @@' +
163+ rowData .ip +
164+ ' :' +
165+ rowData .port
166+ );
159167 },
160- doHandlePageChange,
168+ doHandlePageChange
161169 };
162170 },
163171
164- computed: {
165- },
172+ computed: {},
166173 methods: {
167174 queryList () {
168175 this .doHandlePageChange (1 );
169176 },
170-
177+
171178 handlePageChange (page ) {
172179 this .doHandlePageChange (page);
173- },
180+ }
174181 },
175182 mounted () {
176183 this .queryList ();
Original file line number Diff line number Diff line change @@ -182,7 +182,7 @@ export const sideAllMenu = [
182182 {
183183 name : t ( 'menu.subscriber_list' ) ,
184184 path : '/manage/subscriber'
185- } ,
185+ }
186186 ]
187187 } ,
188188 {
You can’t perform that action at this time.
0 commit comments