2 files deleted
7 files modified
| | |
| | | "dev": "vue-cli-service serve",
|
| | | "build:prod": "vue-cli-service build",
|
| | | "build:stage": "vue-cli-service build --mode staging",
|
| | | "preview": "node build/index.js --preview",
|
| | | "lint": "eslint --ext .js,.vue src"
|
| | | },
|
| | | "husky": {
|
| | | "hooks": {
|
| | | "pre-commit": "lint-staged"
|
| | | }
|
| | | },
|
| | | "lint-staged": {
|
| | | "src/**/*.{js,vue}": [
|
| | | "eslint --fix",
|
| | | "git add"
|
| | | ]
|
| | | "preview": "node build/index.js --preview"
|
| | | },
|
| | | "keywords": [
|
| | | "vue",
|
| | |
| | | },
|
| | | "devDependencies": {
|
| | | "@vue/cli-plugin-babel": "4.4.6",
|
| | | "@vue/cli-plugin-eslint": "4.4.6",
|
| | | "@vue/cli-service": "4.4.6",
|
| | | "babel-eslint": "10.1.0",
|
| | | "babel-plugin-dynamic-import-node": "2.3.3",
|
| | | "chalk": "4.1.0",
|
| | | "compression-webpack-plugin": "6.1.2",
|
| | | "connect": "3.6.6",
|
| | | "eslint": "7.15.0",
|
| | | "eslint-plugin-vue": "7.2.0",
|
| | | "lint-staged": "10.5.3",
|
| | | "sass": "1.32.13",
|
| | | "sass-loader": "10.1.1",
|
| | | "script-ext-html-webpack-plugin": "2.1.5",
|
| | |
| | | <slot />
|
| | | </div>
|
| | | </div>
|
| | | <!-- eslint-disable-next-line -->
|
| | | <div :style="{backgroundImage: `url(${image})`}" class="pan-thumb"></div>
|
| | | </div>
|
| | | </template>
|
| | |
| | | if (window.Vue) { |
| | | window['hasRole'] = hasRole |
| | | window['hasPermi'] = hasPermi |
| | | Vue.use(install) // eslint-disable-line |
| | | Vue.use(install) |
| | | } |
| | | |
| | | export default install |
| | |
| | | /* eslint-disable max-len */
|
| | | import { trigger } from './config'
|
| | |
|
| | | let confGlobal
|
| | |
| | | },
|
| | | computed: {},
|
| | | watch: {
|
| | | // eslint-disable-next-line func-names
|
| | | 'formData.value': function (val) {
|
| | | this.dataType = isNumberStr(val) ? 'number' : 'string'
|
| | | }
|
| | |
| | | }
|
| | | },
|
| | | watch: {
|
| | | // eslint-disable-next-line func-names
|
| | | 'activeData.label': function (val, oldVal) {
|
| | | if (
|
| | | this.activeData.placeholder === undefined
|
| | |
| | | outputDir: 'dist',
|
| | | // 用于放置生成的静态资源 (js、css、img、fonts) 的;(项目打包之后,静态资源会放在这个文件夹下)
|
| | | assetsDir: 'static',
|
| | | // 是否开启eslint保存检测,有效值:ture | false | 'error'
|
| | | lintOnSave: process.env.NODE_ENV === 'development',
|
| | | // 如果你不需要生产环境的 source map,可以将其设置为 false 以加速生产环境构建。
|
| | | productionSourceMap: false,
|
| | | transpileDependencies: ['quill'],
|