Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
soss
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
hooloo
web
soss
Commits
95f83c5e
Commit
95f83c5e
authored
Jun 02, 2022
by
lixiaomin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改方法名
parent
1ba4040d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
5 deletions
+3
-5
src/components/ImageUpload/index.vue
+3
-5
No files found.
src/components/ImageUpload/index.vue
View file @
95f83c5e
...
@@ -108,7 +108,7 @@ export default {
...
@@ -108,7 +108,7 @@ export default {
}
}
},
},
created
()
{
created
()
{
this
.
bb
();
this
.
getDisable
();
},
},
methods
:
{
methods
:
{
// 删除图片
// 删除图片
...
@@ -202,7 +202,7 @@ export default {
...
@@ -202,7 +202,7 @@ export default {
return
strs
;
return
strs
;
},
},
bb
(){
getDisable
(){
const
permissions
=
store
.
getters
&&
store
.
getters
.
permissions
;
const
permissions
=
store
.
getters
&&
store
.
getters
.
permissions
;
if
(
permissions
.
length
>
0
){
if
(
permissions
.
length
>
0
){
if
(
permissions
[
0
]
==
"*:*:*"
){
if
(
permissions
[
0
]
==
"*:*:*"
){
...
@@ -210,10 +210,8 @@ export default {
...
@@ -210,10 +210,8 @@ export default {
return
;
return
;
}
}
for
(
let
i
=
0
;
i
<
permissions
.
length
;
i
++
){
for
(
let
i
=
0
;
i
<
permissions
.
length
;
i
++
){
if
(
permissions
[
i
]
==
"system:config:edit"
){
if
(
permissions
[
i
]
==
"system:config:edit"
){
this
.
disabled
=
false
this
.
disabled
=
false
console
.
log
(
"this.disabled"
,
this
.
disabled
)
return
;
return
;
}
}
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment