forked from github/dataease
fix(fronted): 恢复前端被误删代码
This commit is contained in:
parent
5f6ab3c8fa
commit
941fe1fb23
@ -2,7 +2,8 @@ import Vue from "vue";
|
||||
import VueRouter from 'vue-router'
|
||||
import RouterSidebar from "./RouterSidebar";
|
||||
import Setting from "@/business/components/settings/router";
|
||||
import API from "@/business/components/api/router";
|
||||
import Chart from "@/business/components/chart/router";
|
||||
// import API from "@/business/components/api/router";
|
||||
// import Performance from "@/business/components/performance/router";
|
||||
import DataSet from "@/business/components/dataset/router";
|
||||
import Track from "@/business/components/track/router";
|
||||
@ -19,7 +20,7 @@ const router = new VueRouter({
|
||||
}
|
||||
},
|
||||
Setting,
|
||||
API,
|
||||
Chart,
|
||||
// Performance,
|
||||
DataSet,
|
||||
Track,
|
||||
|
@ -18,6 +18,21 @@ const Dataset = {
|
||||
}
|
||||
}
|
||||
|
||||
const Chart = {
|
||||
state: {
|
||||
chartSceneData: "",
|
||||
chart: ""
|
||||
},
|
||||
mutations: {
|
||||
setChartSceneData(state, chartSceneData) {
|
||||
state.chartSceneData = chartSceneData;
|
||||
},
|
||||
setChart(state, chart) {
|
||||
state.chart = chart;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
const Common = {
|
||||
state: {
|
||||
projectId: ""
|
||||
@ -71,6 +86,7 @@ export default new Vuex.Store({
|
||||
common: Common,
|
||||
switch: Switch,
|
||||
isReadOnly: IsReadOnly,
|
||||
dataset: Dataset
|
||||
dataset: Dataset,
|
||||
chart: Chart
|
||||
}
|
||||
})
|
||||
|
@ -1607,7 +1607,10 @@ export default {
|
||||
field_origin_name: '原始名',
|
||||
field_check: '选中',
|
||||
update_info: '更新信息',
|
||||
join_view: '关联视图'
|
||||
join_view: '关联视图',
|
||||
text: '文本',
|
||||
time: '时间',
|
||||
value: '数值'
|
||||
},
|
||||
datasource: {
|
||||
create: '新建数据连接',
|
||||
|
Loading…
Reference in New Issue
Block a user