Browse Source

可以进行测试

chenzhen/feature-20251107115823-股票知识测评
chenzhen 2 months ago
parent
commit
86ea21b18b
  1. 6
      src/views/HomeView.vue
  2. 840
      src/views/TextView.vue
  3. 2
      vue.config.js

6
src/views/HomeView.vue

@ -21,9 +21,9 @@ export default {
// jwcode:90098889,//
// jwcode:90098890,//
// jwcode:90098891,//
jwcode:90098892,//
// jwcode:90098892,//
// jwcode:90098893,//
// jwcode:90098894,//
jwcode:90098894,//
};
localStorage.setItem('submissionData', JSON.stringify(submissionData));
console.log('存储的数据:', localStorage.getItem('submissionData'));
@ -65,7 +65,7 @@ export default {
}
.image {
position: absolute;
position: fixed;
width: 200px;
min-height: 160px;
max-height: 160px;

840
src/views/TextView.vue
File diff suppressed because it is too large
View File

2
vue.config.js

@ -9,7 +9,7 @@ module.exports = defineConfig({
proxy: {
// 代理所有以 /api 开头的请求
'/api': {
target: 'http://192.168.40.41:8000', // 你的后端地址
target: 'http://192.168.40.48:8081', // 你的后端地址
changeOrigin: true, // 允许跨域
pathRewrite: {
'^/api': '' // 重写路径,去掉 /api 前缀

Loading…
Cancel
Save