Przeglądaj źródła

指挥大屏

master
huxinglu 4 lat temu
rodzic
commit
f009172a04
8 zmienionych plików z 7 dodań i 7 usunięć
  1. +1
    -1
      build/webpack.dev.conf.js
  2. +1
    -1
      build/webpack.prod.conf.js
  3. +2
    -2
      config/index.js
  4. +2
    -2
      src/views/command/index.vue
  5. +1
    -1
      src/views/main/index.vue
  6. +0
    -0
      static/.gitkeep
  7. +0
    -0
      static/driver.json
  8. +0
    -0
      static/njBround.js

+ 1
- 1
build/webpack.dev.conf.js Wyświetl plik

@@ -60,7 +60,7 @@ const devWebpackConfig = merge(baseWebpackConfig, {
// copy custom static assets
new CopyWebpackPlugin([
{
from: path.resolve(__dirname,'../public/static'),
from: path.resolve(__dirname, '../static'),
to: config.dev.assetsSubDirectory,
ignore: ['.*']
}

+ 1
- 1
build/webpack.prod.conf.js Wyświetl plik

@@ -111,7 +111,7 @@ const webpackConfig = merge(baseWebpackConfig, {
// copy custom static assets
new CopyWebpackPlugin([
{
from: path.resolve(__dirname, '../public/static'),
from: path.resolve(__dirname, '../static'),
to: config.build.assetsSubDirectory,
ignore: ['.*']
}

+ 2
- 2
config/index.js Wyświetl plik

@@ -8,7 +8,7 @@ module.exports = {
dev: {

// Paths
assetsSubDirectory: 'public/static',
assetsSubDirectory: 'static',
assetsPublicPath: '/',
proxyTable: {
'/admin': {
@@ -53,7 +53,7 @@ module.exports = {

// Paths
assetsRoot: path.resolve(__dirname, '../dist'),
assetsSubDirectory: 'public/static',
assetsSubDirectory: 'static',
assetsPublicPath: '/',

/**

+ 2
- 2
src/views/command/index.vue Wyświetl plik

@@ -87,12 +87,12 @@

<script>
import AMap from "AMap";
import njBround from "@/assets/js/njBround";
import njBround from "../../../static/njBround";
import dateLeft from './dateLeft'
import dateRight from './dateRight'
import {mapGetters} from "vuex";
import api from '@/api/main/index'
import driver from '../../../public/static/driver.json'
import driver from '../../../static/driver.json'

export default {
name: "command-container",

+ 1
- 1
src/views/main/index.vue Wyświetl plik

@@ -166,7 +166,7 @@

<script>
import AMap from "AMap";
import njBround from "@/assets/js/njBround";
import njBround from "../../../static/njBround";
import transverseBar from "./transverseBar";
import bar from "./bar";
import cake from "./cake";

public/static/.gitkeep → static/.gitkeep Wyświetl plik


public/static/driver.json → static/driver.json Wyświetl plik


src/assets/js/njBround.js → static/njBround.js Wyświetl plik


Ładowanie…
Anuluj
Zapisz