Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
phsl
/
admin
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
df8b1fbc
authored
Jul 28, 2024
by
YunaiV
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
【功能优化】MALL:商品新增时,增加 keepalive 缓存
parent
36b5db16
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
src/router/modules/remaining.ts
+1
-1
src/views/mall/product/spu/form/index.vue
+1
-1
No files found.
src/router/modules/remaining.ts
View file @
df8b1fbc
...
@@ -361,7 +361,7 @@ const remainingRouter: AppRouteRecordRaw[] = [
...
@@ -361,7 +361,7 @@ const remainingRouter: AppRouteRecordRaw[] = [
component
:
()
=>
import
(
'@/views/mall/product/spu/form/index.vue'
),
component
:
()
=>
import
(
'@/views/mall/product/spu/form/index.vue'
),
name
:
'ProductSpuAdd'
,
name
:
'ProductSpuAdd'
,
meta
:
{
meta
:
{
noCache
:
true
,
noCache
:
false
,
// 需要缓存
hidden
:
true
,
hidden
:
true
,
canTo
:
true
,
canTo
:
true
,
icon
:
'ep:edit'
,
icon
:
'ep:edit'
,
...
...
src/views/mall/product/spu/form/index.vue
View file @
df8b1fbc
...
@@ -63,7 +63,7 @@ import SkuForm from './SkuForm.vue'
...
@@ -63,7 +63,7 @@ import SkuForm from './SkuForm.vue'
import
DeliveryForm
from
'./DeliveryForm.vue'
import
DeliveryForm
from
'./DeliveryForm.vue'
import
{
convertToInteger
,
floatToFixed2
,
formatToFraction
}
from
'@/utils'
import
{
convertToInteger
,
floatToFixed2
,
formatToFraction
}
from
'@/utils'
defineOptions
({
name
:
'ProductSpu
Form
'
})
defineOptions
({
name
:
'ProductSpu
Add
'
})
const
{
t
}
=
useI18n
()
// 国际化
const
{
t
}
=
useI18n
()
// 国际化
const
message
=
useMessage
()
// 消息弹窗
const
message
=
useMessage
()
// 消息弹窗
...
...
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