Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
肖康
/
cloudSystem
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
e7910581
authored
Jul 13, 2023
by
LJM
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
修改价格并记录
parent
41a366c8
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
1 deletions
src/tool/index.js
src/views/Store/list.vue
src/tool/index.js
View file @
e7910581
...
@@ -39,5 +39,14 @@ export default {
...
@@ -39,5 +39,14 @@ export default {
var
cval
=
this
.
getCookie
(
name
);
var
cval
=
this
.
getCookie
(
name
);
if
(
cval
!=
null
)
if
(
cval
!=
null
)
document
.
cookie
=
name
+
"="
+
cval
+
";expires="
+
exp
.
toGMTString
();
document
.
cookie
=
name
+
"="
+
cval
+
";expires="
+
exp
.
toGMTString
();
}
},
/**
*
* @param arr
*/
isPurchasesValid
:
function
(
arr
)
{
return
arr
.
every
((
item
,
index
,
array
)
=>
index
===
0
?
true
:
item
.
purchases
>
array
[
index
-
1
].
purchases
);
},
}
}
src/views/Store/list.vue
View file @
e7910581
This diff is collapsed.
Click to expand it.
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