bug修复、缓存优化

This commit is contained in:
alvis 2020-11-30 08:58:46 +08:00
parent 36e885ffde
commit 30a85560ab
12 changed files with 20 additions and 10 deletions

View File

@ -239,6 +239,16 @@ export default {
}, },
resetForm () { resetForm () {
this.$refs['form'].resetFields() this.$refs['form'].resetFields()
this.form = {
id: null,
level: null,
subjectId: null,
paperType: 1,
limitDateTime: [],
name: '',
suggestTime: null,
titleItems: []
}
}, },
...mapActions('exam', { initSubject: 'initSubject' }), ...mapActions('exam', { initSubject: 'initSubject' }),
...mapActions('tagsView', { delCurrentView: 'delCurrentView' }) ...mapActions('tagsView', { delCurrentView: 'delCurrentView' })

View File

@ -89,7 +89,7 @@ html {
.footer-main { .footer-main {
display: inline-block; display: inline-block;
vertical-align: top; vertical-align: top;
margin-right: 110px; margin-right: 70px;
.footer-main-link { .footer-main-link {
display: block; display: block;

View File

@ -16,7 +16,7 @@ import java.util.List;
@Service @Service
public class SubjectServiceImpl extends BaseServiceImpl<Subject> implements SubjectService { public class SubjectServiceImpl extends BaseServiceImpl<Subject> implements SubjectService {
private final static String CACHE_NAME = "Subject"; private final static String CACHE_NAME = "xzs:subject";
private final SubjectMapper subjectMapper; private final SubjectMapper subjectMapper;
@Autowired @Autowired

View File

@ -17,7 +17,7 @@ import java.util.stream.Collectors;
@Service @Service
public class TextContentServiceImpl extends BaseServiceImpl<TextContent> implements TextContentService { public class TextContentServiceImpl extends BaseServiceImpl<TextContent> implements TextContentService {
private final static String CACHE_NAME = "TextContent"; private final static String CACHE_NAME = "xzs:textcontent";
private final TextContentMapper textContentMapper; private final TextContentMapper textContentMapper;
@Autowired @Autowired

View File

@ -26,7 +26,7 @@ import java.util.Map;
@Service @Service
public class UserServiceImpl extends BaseServiceImpl<User> implements UserService { public class UserServiceImpl extends BaseServiceImpl<User> implements UserService {
private final static String CACHE_NAME = "User"; private final static String CACHE_NAME = "xzs:user";
private final UserMapper userMapper; private final UserMapper userMapper;
private final ApplicationEventPublisher eventPublisher; private final ApplicationEventPublisher eventPublisher;

View File

@ -20,7 +20,7 @@ import java.util.UUID;
@Service @Service
public class UserTokenServiceImpl extends BaseServiceImpl<UserToken> implements UserTokenService { public class UserTokenServiceImpl extends BaseServiceImpl<UserToken> implements UserTokenService {
private final static String CACHE_NAME = "Token"; private final static String CACHE_NAME = "xzs:token";
private final UserTokenMapper userTokenMapper; private final UserTokenMapper userTokenMapper;
private final UserService userService; private final UserService userService;
private final SystemConfig systemConfig; private final SystemConfig systemConfig;

View File

@ -13,4 +13,4 @@
hm.src = 'https://hm.baidu.com/hm.js?cd8218cd51f800ed2b73e5751cb3f4f9' hm.src = 'https://hm.baidu.com/hm.js?cd8218cd51f800ed2b73e5751cb3f4f9'
var s = document.getElementsByTagName('script')[0] var s = document.getElementsByTagName('script')[0]
s.parentNode.insertBefore(hm, s) s.parentNode.insertBefore(hm, s)
})()</script><link href="static/css/chunk-0226adbc.0e1403ca.css" rel="prefetch"><link href="static/css/chunk-066bbd34.c306629d.css" rel="prefetch"><link href="static/css/chunk-111f3671.d650a2aa.css" rel="prefetch"><link href="static/css/chunk-157f9069.c306629d.css" rel="prefetch"><link href="static/css/chunk-2e16d177.89936c18.css" rel="prefetch"><link href="static/css/chunk-360c43ba.c306629d.css" rel="prefetch"><link href="static/css/chunk-42236473.c306629d.css" rel="prefetch"><link href="static/css/chunk-5bc3d75d.c306629d.css" rel="prefetch"><link href="static/css/chunk-65f8ca6f.c306629d.css" rel="prefetch"><link href="static/css/chunk-7c62808c.c306629d.css" rel="prefetch"><link href="static/css/chunk-873a42e2.1951fa25.css" rel="prefetch"><link href="static/css/chunk-a85d3c1e.c8588555.css" rel="prefetch"><link href="static/css/chunk-a9d03770.c306629d.css" rel="prefetch"><link href="static/css/chunk-bab2e2c4.c306629d.css" rel="prefetch"><link href="static/js/chunk-0226adbc.3bf936af.js" rel="prefetch"><link href="static/js/chunk-066bbd34.fe350225.js" rel="prefetch"><link href="static/js/chunk-111f3671.43084b31.js" rel="prefetch"><link href="static/js/chunk-157f9069.915b3f54.js" rel="prefetch"><link href="static/js/chunk-16f9edc1.16c0ff09.js" rel="prefetch"><link href="static/js/chunk-2d0c138b.7ca512a8.js" rel="prefetch"><link href="static/js/chunk-2d221bd2.0d60a519.js" rel="prefetch"><link href="static/js/chunk-2d2300ef.07397eb2.js" rel="prefetch"><link href="static/js/chunk-2d230fe7.042d38d1.js" rel="prefetch"><link href="static/js/chunk-2e16d177.b87f0553.js" rel="prefetch"><link href="static/js/chunk-360c43ba.57bc1551.js" rel="prefetch"><link href="static/js/chunk-42236473.e28ff618.js" rel="prefetch"><link href="static/js/chunk-5bc3d75d.76a57e6a.js" rel="prefetch"><link href="static/js/chunk-65f8ca6f.747bcb8d.js" rel="prefetch"><link href="static/js/chunk-733c35b2.96963128.js" rel="prefetch"><link href="static/js/chunk-75f11c77.3e0718d5.js" rel="prefetch"><link href="static/js/chunk-78234ca2.358d6493.js" rel="prefetch"><link href="static/js/chunk-793f0082.2a968cbd.js" rel="prefetch"><link href="static/js/chunk-7c62808c.12b4eee3.js" rel="prefetch"><link href="static/js/chunk-873a42e2.82b236f8.js" rel="prefetch"><link href="static/js/chunk-a85d3c1e.0136c614.js" rel="prefetch"><link href="static/js/chunk-a9d03770.42a58c33.js" rel="prefetch"><link href="static/js/chunk-bab2e2c4.ba646524.js" rel="prefetch"><link href="static/js/chunk-d0753fda.6f5b88e5.js" rel="prefetch"><link href="static/css/chunk-vendors.ee57d822.css" rel="preload" as="style"><link href="static/css/index.a92eac13.css" rel="preload" as="style"><link href="static/js/chunk-vendors.9dd0934b.js" rel="preload" as="script"><link href="static/js/index.6199f030.js" rel="preload" as="script"><link href="static/css/chunk-vendors.ee57d822.css" rel="stylesheet"><link href="static/css/index.a92eac13.css" rel="stylesheet"></head><body><noscript><strong>We're sorry but vue-demo doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"></div><script src="static/js/chunk-vendors.9dd0934b.js"></script><script src="static/js/index.6199f030.js"></script></body></html> })()</script><link href="static/css/chunk-0226adbc.0e1403ca.css" rel="prefetch"><link href="static/css/chunk-066bbd34.c306629d.css" rel="prefetch"><link href="static/css/chunk-111f3671.d650a2aa.css" rel="prefetch"><link href="static/css/chunk-157f9069.c306629d.css" rel="prefetch"><link href="static/css/chunk-2e16d177.89936c18.css" rel="prefetch"><link href="static/css/chunk-360c43ba.c306629d.css" rel="prefetch"><link href="static/css/chunk-42236473.c306629d.css" rel="prefetch"><link href="static/css/chunk-5bc3d75d.c306629d.css" rel="prefetch"><link href="static/css/chunk-65f8ca6f.c306629d.css" rel="prefetch"><link href="static/css/chunk-7c62808c.c306629d.css" rel="prefetch"><link href="static/css/chunk-873a42e2.1951fa25.css" rel="prefetch"><link href="static/css/chunk-a85d3c1e.c8588555.css" rel="prefetch"><link href="static/css/chunk-a9d03770.c306629d.css" rel="prefetch"><link href="static/css/chunk-bab2e2c4.c306629d.css" rel="prefetch"><link href="static/js/chunk-0226adbc.3bf936af.js" rel="prefetch"><link href="static/js/chunk-066bbd34.fe350225.js" rel="prefetch"><link href="static/js/chunk-111f3671.43084b31.js" rel="prefetch"><link href="static/js/chunk-157f9069.915b3f54.js" rel="prefetch"><link href="static/js/chunk-16f9edc1.16c0ff09.js" rel="prefetch"><link href="static/js/chunk-2d0c138b.7ca512a8.js" rel="prefetch"><link href="static/js/chunk-2d221bd2.0d60a519.js" rel="prefetch"><link href="static/js/chunk-2d2300ef.07397eb2.js" rel="prefetch"><link href="static/js/chunk-2d230fe7.042d38d1.js" rel="prefetch"><link href="static/js/chunk-2e16d177.b87f0553.js" rel="prefetch"><link href="static/js/chunk-360c43ba.57bc1551.js" rel="prefetch"><link href="static/js/chunk-42236473.e28ff618.js" rel="prefetch"><link href="static/js/chunk-5bc3d75d.76a57e6a.js" rel="prefetch"><link href="static/js/chunk-65f8ca6f.747bcb8d.js" rel="prefetch"><link href="static/js/chunk-733c35b2.96963128.js" rel="prefetch"><link href="static/js/chunk-75f11c77.3e0718d5.js" rel="prefetch"><link href="static/js/chunk-78234ca2.358d6493.js" rel="prefetch"><link href="static/js/chunk-793f0082.2a968cbd.js" rel="prefetch"><link href="static/js/chunk-7c62808c.12b4eee3.js" rel="prefetch"><link href="static/js/chunk-873a42e2.82b236f8.js" rel="prefetch"><link href="static/js/chunk-a85d3c1e.5d88e836.js" rel="prefetch"><link href="static/js/chunk-a9d03770.42a58c33.js" rel="prefetch"><link href="static/js/chunk-bab2e2c4.ba646524.js" rel="prefetch"><link href="static/js/chunk-d0753fda.6f5b88e5.js" rel="prefetch"><link href="static/css/chunk-vendors.ee57d822.css" rel="preload" as="style"><link href="static/css/index.a92eac13.css" rel="preload" as="style"><link href="static/js/chunk-vendors.9dd0934b.js" rel="preload" as="script"><link href="static/js/index.bf0f0f04.js" rel="preload" as="script"><link href="static/css/chunk-vendors.ee57d822.css" rel="stylesheet"><link href="static/css/index.a92eac13.css" rel="stylesheet"></head><body><noscript><strong>We're sorry but vue-demo doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"></div><script src="static/js/chunk-vendors.9dd0934b.js"></script><script src="static/js/index.bf0f0f04.js"></script></body></html>

View File

@ -14,4 +14,4 @@
hm.src = 'https://hm.baidu.com/hm.js?cd8218cd51f800ed2b73e5751cb3f4f9' hm.src = 'https://hm.baidu.com/hm.js?cd8218cd51f800ed2b73e5751cb3f4f9'
var s = document.getElementsByTagName('script')[0] var s = document.getElementsByTagName('script')[0]
s.parentNode.insertBefore(hm, s) s.parentNode.insertBefore(hm, s)
})()</script><link href="static/css/chunk-099b9c43.1951fa25.css" rel="prefetch"><link href="static/css/chunk-122e80b5.dd8c5d56.css" rel="prefetch"><link href="static/css/chunk-1b8c8b54.b56209ba.css" rel="prefetch"><link href="static/css/chunk-1d601c29.dd8c5d56.css" rel="prefetch"><link href="static/css/chunk-26bf5f94.eec97ea9.css" rel="prefetch"><link href="static/css/chunk-31aa2150.ad364b97.css" rel="prefetch"><link href="static/css/chunk-604488bc.f72e8178.css" rel="prefetch"><link href="static/css/chunk-66bf5956.dd8c5d56.css" rel="prefetch"><link href="static/css/chunk-69a4052e.54efd6ce.css" rel="prefetch"><link href="static/css/chunk-7e275898.4fbbf1ef.css" rel="prefetch"><link href="static/css/chunk-912d804c.dd8c5d56.css" rel="prefetch"><link href="static/js/chunk-099b9c43.4d7210ec.js" rel="prefetch"><link href="static/js/chunk-122e80b5.500f5349.js" rel="prefetch"><link href="static/js/chunk-1b8c8b54.67fd14c2.js" rel="prefetch"><link href="static/js/chunk-1d601c29.67af9a17.js" rel="prefetch"><link href="static/js/chunk-26bf5f94.ed27c2e4.js" rel="prefetch"><link href="static/js/chunk-2d20f362.c8e16fe2.js" rel="prefetch"><link href="static/js/chunk-31aa2150.1c86a23d.js" rel="prefetch"><link href="static/js/chunk-604488bc.5627acb5.js" rel="prefetch"><link href="static/js/chunk-66bf5956.d19ba67a.js" rel="prefetch"><link href="static/js/chunk-69a4052e.c3181827.js" rel="prefetch"><link href="static/js/chunk-7e275898.51525961.js" rel="prefetch"><link href="static/js/chunk-912d804c.d4e349b9.js" rel="prefetch"><link href="static/js/chunk-ce360eb2.4fb55e2e.js" rel="prefetch"><link href="static/css/chunk-vendors.4bd9a591.css" rel="preload" as="style"><link href="static/css/index.5c82c4f3.css" rel="preload" as="style"><link href="static/js/chunk-vendors.e5484d17.js" rel="preload" as="script"><link href="static/js/index.7c98b514.js" rel="preload" as="script"><link href="static/css/chunk-vendors.4bd9a591.css" rel="stylesheet"><link href="static/css/index.5c82c4f3.css" rel="stylesheet"></head><body><noscript><strong>We're sorry but vue-demo doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"></div><script src="static/js/chunk-vendors.e5484d17.js"></script><script src="static/js/index.7c98b514.js"></script></body></html> })()</script><link href="static/css/chunk-099b9c43.1951fa25.css" rel="prefetch"><link href="static/css/chunk-122e80b5.dd8c5d56.css" rel="prefetch"><link href="static/css/chunk-1b8c8b54.b56209ba.css" rel="prefetch"><link href="static/css/chunk-1d601c29.dd8c5d56.css" rel="prefetch"><link href="static/css/chunk-26bf5f94.eec97ea9.css" rel="prefetch"><link href="static/css/chunk-31aa2150.ad364b97.css" rel="prefetch"><link href="static/css/chunk-604488bc.f72e8178.css" rel="prefetch"><link href="static/css/chunk-66bf5956.dd8c5d56.css" rel="prefetch"><link href="static/css/chunk-69a4052e.54efd6ce.css" rel="prefetch"><link href="static/css/chunk-7e275898.4fbbf1ef.css" rel="prefetch"><link href="static/css/chunk-912d804c.dd8c5d56.css" rel="prefetch"><link href="static/js/chunk-099b9c43.4d7210ec.js" rel="prefetch"><link href="static/js/chunk-122e80b5.500f5349.js" rel="prefetch"><link href="static/js/chunk-1b8c8b54.67fd14c2.js" rel="prefetch"><link href="static/js/chunk-1d601c29.67af9a17.js" rel="prefetch"><link href="static/js/chunk-26bf5f94.ed27c2e4.js" rel="prefetch"><link href="static/js/chunk-2d20f362.c8e16fe2.js" rel="prefetch"><link href="static/js/chunk-31aa2150.1c86a23d.js" rel="prefetch"><link href="static/js/chunk-604488bc.5627acb5.js" rel="prefetch"><link href="static/js/chunk-66bf5956.d19ba67a.js" rel="prefetch"><link href="static/js/chunk-69a4052e.c3181827.js" rel="prefetch"><link href="static/js/chunk-7e275898.51525961.js" rel="prefetch"><link href="static/js/chunk-912d804c.d4e349b9.js" rel="prefetch"><link href="static/js/chunk-ce360eb2.4fb55e2e.js" rel="prefetch"><link href="static/css/chunk-vendors.4bd9a591.css" rel="preload" as="style"><link href="static/css/index.f1742efb.css" rel="preload" as="style"><link href="static/js/chunk-vendors.e5484d17.js" rel="preload" as="script"><link href="static/js/index.7c98b514.js" rel="preload" as="script"><link href="static/css/chunk-vendors.4bd9a591.css" rel="stylesheet"><link href="static/css/index.f1742efb.css" rel="stylesheet"></head><body><noscript><strong>We're sorry but vue-demo doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"></div><script src="static/js/chunk-vendors.e5484d17.js"></script><script src="static/js/index.7c98b514.js"></script></body></html>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long