Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mongo-ui
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
ui
mongo-ui
Commits
5656ce16
Commit
5656ce16
authored
Aug 31, 2020
by
郝聪敏
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 恢复localstorage测试
parent
162202e1
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
21 deletions
+5
-21
package-lock.json
package-lock.json
+2
-6
package.json
package.json
+1
-0
index.html
public/index.html
+0
-13
main.js
src/main.js
+2
-2
No files found.
package-lock.json
View file @
5656ce16
...
...
@@ -1098,11 +1098,6 @@
}
}
},
"@qg/cherry-ui"
:
{
"version"
:
"1.2.3"
,
"resolved"
:
"http://npmprivate.quantgroups.com/@qg%2fcherry-ui/-/cherry-ui-1.2.3.tgz"
,
"integrity"
:
"sha512-0sgYtoAg8Ixbqw/HpPvnkUxLlBCLbgK8ZgzaRLnSeuvdgNzOH2bZoI0siWt9BFygak3MIcwD984bkywV5ggEqg=="
},
"@qg/qg-scroll"
:
{
"version"
:
"1.4.2"
,
"resolved"
:
"http://npmprivate.quantgroups.com/@qg%2fqg-scroll/-/qg-scroll-1.4.2.tgz"
,
...
...
@@ -7699,7 +7694,8 @@
"lodash"
:
{
"version"
:
"4.17.19"
,
"resolved"
:
"http://npmprivate.quantgroups.com/lodash/-/lodash-4.17.19.tgz"
,
"integrity"
:
"sha512-JNvd8XER9GQX0v2qJgsaN/mzFCNA5BRe/j8JN9d+tWyGLSodKQHKFicdwNYzWwI3wjRnaKPsGj1XkBjx/F96DQ=="
"integrity"
:
"sha512-JNvd8XER9GQX0v2qJgsaN/mzFCNA5BRe/j8JN9d+tWyGLSodKQHKFicdwNYzWwI3wjRnaKPsGj1XkBjx/F96DQ=="
,
"dev"
:
true
},
"lodash.defaultsdeep"
:
{
"version"
:
"4.6.1"
,
...
...
package.json
View file @
5656ce16
...
...
@@ -23,6 +23,7 @@
"
raven-js
"
:
"
^3.27.2
"
,
"
sa-sdk-javascript
"
:
"
^1.15.16
"
,
"
vant
"
:
"
^2.10.2
"
,
"
vconsole
"
:
"
^3.3.4
"
,
"
vue
"
:
"
2.6.11
"
,
"
vue-pdf
"
:
"
^4.1.0
"
,
"
vue-router
"
:
"
^3.2.0
"
,
...
...
public/index.html
View file @
5656ce16
...
...
@@ -30,19 +30,6 @@
// ! 上线需要删掉
var
baseUrl
=
""
;
</script>
<script>
var
orignalremoveItem
=
localStorage
.
clear
;
localStorage
.
clear
=
function
(
key
,
newValue
){
var
removeItemEvent
=
new
Event
(
"
removeItemEvent
"
);
removeItemEvent
.
key
=
key
;
removeItemEvent
.
newValue
=
newValue
;
window
.
dispatchEvent
(
removeItemEvent
);
orignalremoveItem
.
apply
(
this
,
arguments
);
};
window
.
addEventListener
(
"
removeItemEvent
"
,
function
(
e
)
{
console
.
log
(
"
localStorage.clear() 执行清楚方法;
"
)
});
</script>
<style>
#app
.mainload
{
margin-top
:
180px
;
...
...
src/main.js
View file @
5656ce16
...
...
@@ -5,7 +5,7 @@ import router from "./router";
import
store
from
"
./store
"
;
import
"
./style/index.less
"
;
import
"
amfe-flexible
"
;
//
import vConsole from "vconsole";
import
vConsole
from
"
vconsole
"
;
import
sa
from
"
sa-sdk-javascript
"
;
import
"
@/assets/icons/index
"
;
import
"
@/service/cherry-ui
"
;
...
...
@@ -60,5 +60,5 @@ window.addEventListener(
// if (process.env.NODE_ENV !== "development") {
// ! 上线后务必取掉
//
new vConsole();
new
vConsole
();
// }
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