Commit 03ffd458 by hank

模板修改

parent e9143252
......@@ -4,5 +4,5 @@ const prodEnv = require('./prod.env')
module.exports = merge(prodEnv, {
NODE_ENV: '"development"',
BASE_API: '"http://47.95.238.195:8090"'
BASE_API: '"http://equipment.bdideal.com"'
})
\ No newline at end of file
'use strict'
module.exports = {
NODE_ENV: '"production"',
BASE_API: '"http://47.95.238.195:8090"'
BASE_API: '"http://equipment.bdideal.com"'
}
\ No newline at end of file
......@@ -2,7 +2,7 @@ import request from 'src/config/request'
export function getFilmDetail (filmId) { // 获取影片详情
return request({
url: `/template/get/film/info/${filmId}`,
url: `/equipment/get/film/info/${filmId}`,
method: 'get'
})
}
......@@ -151,10 +151,10 @@ export default {
} else {
this.isEditMode = false;
}
if (getQuery("filmId")) {
if (getQuery("filmId") && !this.isEditMode) {
getFilmDetail(getQuery("filmId")).then(result => {
console.log(result);
vm.list = JSON.parse(result.filmData);
vm.list = JSON.parse(result.filmData).pageList;
vm.filmId = result.filmId;
});
} else {
......
import data from './schemaData2.js'
import editMethod from './editMethod.js'
import requireIcons from '@/icons/requireIcons'
// console.log(JSON.stringify(data))
console.log(JSON.stringify(data))
export default {
data: function () {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment