Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
glsx-web
/
glsx-oss-configuration
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 094c5600
authored
Jul 18, 2024
by
王志慧
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fixed
1 parent
6ab1fd20
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
5 deletions
src/common/util.js
src/components/d2-table/index.vue
src/views/config/index/app.js
src/common/util.js
View file @
094c560
...
@@ -34,7 +34,7 @@ export const Util = {
...
@@ -34,7 +34,7 @@ export const Util = {
(
options
.
success
)(
done
)
(
options
.
success
)(
done
)
}
}
}
else
{
}
else
{
console
.
log
(
done
);
//
console.log(done);
// done()
// done()
}
}
}
}
...
@@ -154,7 +154,7 @@ export const Util = {
...
@@ -154,7 +154,7 @@ export const Util = {
vars
.
push
(
hash
[
0
]);
vars
.
push
(
hash
[
0
]);
oParams
[
hash
[
0
]]
=
hash
[
1
];
oParams
[
hash
[
0
]]
=
hash
[
1
];
}
}
console
.
log
(
vars
);
if
(
name
){
if
(
name
){
return
oParams
[
name
];
return
oParams
[
name
];
}
else
{
}
else
{
...
...
src/components/d2-table/index.vue
View file @
094c560
...
@@ -263,7 +263,6 @@ export default {
...
@@ -263,7 +263,6 @@ export default {
params
.
sort
=
this
.
sort
===
'descending'
?
1
:
0
params
.
sort
=
this
.
sort
===
'descending'
?
1
:
0
}
}
this
.
getListApi
(
params
).
then
(
res
=>
{
this
.
getListApi
(
params
).
then
(
res
=>
{
console
.
log
(
res
)
this
.
data
=
this
.
findVal
(
res
,
this
.
tableParams
.
listName
)
this
.
data
=
this
.
findVal
(
res
,
this
.
tableParams
.
listName
)
this
.
total
=
this
.
findVal
(
res
,
this
.
pageConf
.
totalCount
)
this
.
total
=
this
.
findVal
(
res
,
this
.
pageConf
.
totalCount
)
this
.
loading
=
false
this
.
loading
=
false
...
...
src/views/config/index/app.js
View file @
094c560
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* @Author: 王志慧 wangzh@didihu.com.cn
* @Author: 王志慧 wangzh@didihu.com.cn
* @Date: 2024-07-12 15:57:51
* @Date: 2024-07-12 15:57:51
* @LastEditors: 王志慧 wangzh@didihu.com.cn
* @LastEditors: 王志慧 wangzh@didihu.com.cn
* @LastEditTime: 2024-07-18 1
0:08:01
* @LastEditTime: 2024-07-18 1
4:01:49
* @FilePath: \glsx-oss-configuration\src\views\config\index\app.js
* @FilePath: \glsx-oss-configuration\src\views\config\index\app.js
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
*/
*/
...
@@ -12,7 +12,6 @@ import GlsxVueCommon from 'glsx-vue-common'
...
@@ -12,7 +12,6 @@ import GlsxVueCommon from 'glsx-vue-common'
base
.
getConfig
().
then
(
data
=>
{
base
.
getConfig
().
then
(
data
=>
{
const
{
vue
,
config
}
=
data
const
{
vue
,
config
}
=
data
vue
.
use
(
GlsxVueCommon
,
config
)
vue
.
use
(
GlsxVueCommon
,
config
)
console
.
log
(
config
)
vue
.
prototype
.
$params
=
config
vue
.
prototype
.
$params
=
config
base
.
render
(
App
)
base
.
render
(
App
)
})
})
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment