提交 5716ead2 authored 作者: 王鹏飞's avatar 王鹏飞

fix: 修复考试页面试题选项显示不全的问题

上级 7535ffe7
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -2,8 +2,8 @@ ...@@ -2,8 +2,8 @@
"version": "0.0.0", "version": "0.0.0",
"scripts": { "scripts": {
"dev": "vite --mode dev", "dev": "vite --mode dev",
"build": "cross-env BUILD_ENV=prod vite build && npm run deploy", "build": "vite build --mode prod && npm run deploy",
"build:pre": "vite build", "build:pre": "vite build --mode pre",
"build:test": "vite build --mode test", "build:test": "vite build --mode test",
"preview": "vite preview", "preview": "vite preview",
"deploy": "node ./deploy.js", "deploy": "node ./deploy.js",
...@@ -11,32 +11,31 @@ ...@@ -11,32 +11,31 @@
}, },
"dependencies": { "dependencies": {
"@tinymce/tinymce-vue": "^3.2.8", "@tinymce/tinymce-vue": "^3.2.8",
"axios": "^0.25.0", "axios": "^0.26.1",
"blueimp-md5": "^2.19.0", "blueimp-md5": "^2.19.0",
"echarts": "^5.2.2", "echarts": "^5.2.2",
"element-ui": "^2.15.6", "element-ui": "^2.15.6",
"js-base64": "^3.7.2", "js-base64": "^3.7.2",
"lodash": "^4.17.21", "lodash": "^4.17.21",
"query-string": "^7.1.0", "query-string": "^7.1.1",
"vue": "^2.6.14", "vue": "^2.6.14",
"vue-html2pdf": "^1.8.0", "vue-html2pdf": "^1.8.0",
"vue-router": "^3.5.3", "vue-router": "^3.5.3",
"vuex": "^3.6.2" "vuex": "^3.6.2"
}, },
"devDependencies": { "devDependencies": {
"ali-oss": "^6.16.0", "ali-oss": "^6.17.1",
"chalk": "^4.1.2", "chalk": "^4.1.2",
"cross-env": "^7.0.3",
"eslint": "^7.32.0", "eslint": "^7.32.0",
"eslint-config-standard": "^16.0.3", "eslint-config-standard": "^16.0.3",
"eslint-plugin-import": "^2.25.3", "eslint-plugin-import": "^2.25.3",
"eslint-plugin-node": "^11.1.0", "eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^5.1.1", "eslint-plugin-promise": "^5.1.1",
"eslint-plugin-vue": "^7.20.0", "eslint-plugin-vue": "^8.5.0",
"sass": "1.43.5", "sass": "1.49.10",
"vite": "^2.7.13", "vite": "^2.9.0",
"vite-plugin-checker": "^0.4.3", "vite-plugin-checker": "^0.4.4",
"vite-plugin-vue2": "^1.9.2", "vite-plugin-vue2": "^1.9.3",
"vue-template-compiler": "^2.6.14" "vue-template-compiler": "^2.6.14"
} }
} }
...@@ -181,6 +181,7 @@ export default { ...@@ -181,6 +181,7 @@ export default {
display: inline-block; display: inline-block;
font-size: 18px; font-size: 18px;
color: #222; color: #222;
white-space: normal;
} }
::v-deep .el-radio__inner, ::v-deep .el-radio__inner,
......
...@@ -4,40 +4,42 @@ import { defineConfig } from 'vite' ...@@ -4,40 +4,42 @@ import { defineConfig } from 'vite'
import { createVuePlugin } from 'vite-plugin-vue2' import { createVuePlugin } from 'vite-plugin-vue2'
import checker from 'vite-plugin-checker' import checker from 'vite-plugin-checker'
export default defineConfig({ export default defineConfig(({ mode }) => {
base: process.env.BUILD_ENV === 'prod' ? 'https://webapp-pub.ezijing.com/website/prod/fd-learn/' : '/', return {
plugins: [ base: mode === 'prod' ? 'https://webapp-pub.ezijing.com/website/prod/fd-learn/' : '/',
checker({ plugins: [
eslint: { lintCommand: 'eslint "./src/**/*.{vue,js,jsx,ts,tsx}"' } checker({
}), eslint: { lintCommand: 'eslint "./src/**/*.{vue,js,jsx,ts,tsx}"' }
createVuePlugin() }),
], createVuePlugin()
server: { ],
open: true, server: {
host: 'dev.ezijing.com', open: true,
https: { host: 'dev.ezijing.com',
key: fs.readFileSync(path.join(__dirname, './https/dev.ezijing.com.key')), https: {
cert: fs.readFileSync(path.join(__dirname, './https/dev.ezijing.com.pem')) key: fs.readFileSync(path.join(__dirname, './https/dev.ezijing.com.key')),
cert: fs.readFileSync(path.join(__dirname, './https/dev.ezijing.com.pem'))
},
proxy: {
// '/api/lms-financial': 'http://localhost-financial-api.ezijing.com'
// '/api/lms-financial': {
// target: 'http://localhost-financial-api.ezijing.com',
// changeOrigin: true,
// rewrite: path => path.replace(/^\/api\/fd/, '')
// }
}
},
resolve: {
alias: [
{
find: '@',
replacement: path.resolve(__dirname, 'src')
}
]
}, },
proxy: { css: {
// '/api/lms-financial': 'http://localhost-financial-api.ezijing.com' // 禁用SASS警告提醒
// '/api/lms-financial': { preprocessorOptions: { scss: { quietDeps: true, charset: false } }
// target: 'http://localhost-financial-api.ezijing.com',
// changeOrigin: true,
// rewrite: path => path.replace(/^\/api\/fd/, '')
// }
} }
},
resolve: {
alias: [
{
find: '@',
replacement: path.resolve(__dirname, 'src')
}
]
},
css: {
// 禁用SASS警告提醒
preprocessorOptions: { scss: { quietDeps: true, charset: false } }
} }
}) })
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论