CF786B Legacy

博客介绍了线段树优化建图,入树是上连下,因可从父亲节点走到下面;出树是下连上,因可进来后走到父亲节点再出发。建图完成后直接跑SPFA求解,还给出了转载链接。

线段树优化建图!

板子题吧

就是入树是上连下 原因是到达可以从父亲节点走到下面

然后出树是下连上 原因是可以进来以后再走到父亲节点再出发

具体建图可以看代码啦

就是建好了以后直接跑spfa就好啦【可能在国外spfa还没死。。。

//Love and Freedom.
#include<cstdio>
#include<cmath>
#include<algorithm>
#include<cstring>
#include<queue>
#define ll long long
#define inf 2002122520021225ll
#define N 400010
#define ls (x<<1)
#define rs (x<<1|1)
#define fa (x>>1)
#define mid (l+r>>1)
using namespace std;

queue<int> que;
struct edge{int to,lt,v;}e[N*20];
int tot,in[N<<2],cnt,s,n,m;ll dis[N<<2],pos[N][2];
void add(int x,int y,int v){e[++cnt].to=y; e[cnt].lt=in[x]; in[x]=cnt; e[cnt].v=v;}
struct sgt
{
    int id[N<<1][2]; // 0 in 1 out
    void build(int x,int l,int r)
    {
        id[x][0]=++tot; id[x][1]=++tot;
        if(l==r)
        {
            pos[l][0]=id[x][0]; pos[l][1]=id[x][1];
            add(id[x][0],id[x][1],0),add(id[x][1],id[x][0],0);
            return;
        }
        build(ls,l,mid); build(rs,mid+1,r);
        add(id[x][0],id[ls][0],0); add(id[ls][1],id[x][1],0);
        add(id[x][0],id[rs][0],0); add(id[rs][1],id[x][1],0);
    }
    void link(int x,int l,int r,int LL,int RR,int poi,int v,int typ)
    {
        if(LL<=l && RR>=r)
        {
            if(!typ)    add(id[x][1],poi,v);
            else    add(poi,id[x][0],v);
            return;
        }
        if(LL<=mid)    link(ls,l,mid,LL,RR,poi,v,typ);
        if(RR>mid)    link(rs,mid+1,r,LL,RR,poi,v,typ);
    }
}sgt;
void spfa()
{
    for(int i=1;i<=tot;i++)    dis[i]=inf;
    dis[s]=0; que.push(s);
    while(!que.empty())
    {
        int x=que.front(); que.pop();
        for(int i=in[x];i;i=e[i].lt)
        {
            int y=e[i].to;
            if(dis[x]+e[i].v<dis[y])
            {
                dis[y]=dis[x]+e[i].v;
                que.push(y);
            }
        }
    }
}
int main()
{
    int typ,x,l,r,y,v;
    scanf("%d%d%d",&n,&m,&s); sgt.build(1,1,n);
    for(int i=1;i<=m;i++)
    {
        scanf("%d",&typ);
        if(typ==1)
            scanf("%d%d%d",&x,&y,&v),add(pos[x][0],pos[y][1],v);
        else if(typ==2)
            scanf("%d%d%d%d",&x,&l,&r,&v),sgt.link(1,1,n,l,r,pos[x][1],v,1);
        else
            scanf("%d%d%d%d",&x,&l,&r,&v),sgt.link(1,1,n,l,r,pos[x][0],v,0);
    }
    s=pos[s][0]; spfa();
    for(int i=1;i<=n;i++)
        printf("%I64d ",dis[pos[i][1]]==inf?-1:dis[pos[i][1]]);
    return 0;
}
View Code

 

转载于:https://www.cnblogs.com/hanyuweining/p/11062465.html

PS C:\fcube-app\W11.F-CUBE-A-APP\CL_CSM\src\main\webapp> npm run vue:serve Debugger attached. > cl_csm@0.1.0 vue:serve > vue-cli-service serve Debugger attached. INFO Starting development server... [hardsource:25fcdbf0] Using 42 MB of disk space. [hardsource:25fcdbf0] Writing new cache 25fcdbf0... [hardsource:25fcdbf0] Tracking node dependencies with: package-lock.json. 40% building 185/194 modules 9 active C:\fcube-app\W11.F-CUBE-A-APP\CL_CSM\src\main\webapp\node_modules\core-js\modules\_iobject.jsDeprecation Warning [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0. More info: https://sass-lang.com/d/legacy-js-api 40% building 218/236 modules 18 active C:\fcube-app\W11.F-CUBE-A-APP\CL_CSM\src\main\webapp\node_modules\qs\lib\utils.jsDeprecation Warning [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0. More info: https://sass-lang.com/d/legacy-js-api Deprecation Warning [import]: Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0. More info and automated migrator: https://sass-lang.com/d/import ╷ 24 │ @import "~element-ui/packages/theme-chalk/src/index"; │ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ╵ stdin 24:9 root stylesheet 48% building 321/346 modules 25 active C:\fcube-app\W11.F-CUBE-A-APP\CL_CSM\src\main\webapp\node_modules\core-js\modules\_string-pad.jsDeprecation Warning [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0. More info: https://sass-lang.com/d/legacy-js-api 52% building 350/373 modules 23 active ...app\node_modules\vue-loader\lib\index.js??vue-loader-options!C:\fcube-app\W11.F-CUBE-A-APP\CL_CSM\src\main\webapp\src\components\sdk\Organisms\RoStep.vue[BABEL] Note: The code generator has deoptimised the styling of C:\fcube-app\W11.F-CUBE-A-APP\CL_CSM\src\main\webapp\src\sdk\constant\kbnConst.js as it exceeds the max of 500KB. 54% building 367/423 modules 56 active ...UBE-A-APP\CL_CSM\src\main\webapp\node_modules\babel-loader\lib\index.js!C:\fcube-app\W11.F-CUBE-A-APP\CL_CSM\src\main\webapp\src\sdk\validators\amount.jsDeprecation Warning [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0. More info: https://sass-lang.com/d/legacy-js-api Deprecation Warning [import]: Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0. More info and automated migrator: https://sass-lang.com/d/import ╷ 4 │ @import './variables'; │ ^^^^^^^^^^^^^ ╵ stdin 4:9 root stylesheet 63% building 487/546 modules 59 active ...oader\lib\index.js??vue-loader-options!C:\fcube-app\W11.F-CUBE-A-APP\CL_CSM\src\main\webapp\src\components\sdk\Atoms\RaButton.vue?vue&type=script&lang=jsDeprecation Warning [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0. More info: https://sass-lang.com/d/legacy-js-api Deprecation Warning [import]: Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0. More info and automated migrator: https://sass-lang.com/d/import ╷ 2 │ @import '../../../sdk/variables'; │ ^^^^^^^^^^^^^^^^^^^^^^^^ ╵ stdin 2:9 root stylesheet Deprecation Warning [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0. More info: https://sass-lang.com/d/legacy-js-api Deprecation Warning [import]: Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0. More info and automated migrator: https://sass-lang.com/d/import ╷ 2 │ @import '../../../sdk/variables'; │ ^^^^^^^^^^^^^^^^^^^^^^^^ ╵ stdin 2:9 root stylesheet Deprecation Warning [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0. More info: https://sass-lang.com/d/legacy-js-api Deprecation Warning [import]: Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0. More info and automated migrator: https://sass-lang.com/d/import ╷ 2 │ @import '../../../sdk/variables'; │ ^^^^^^^^^^^^^^^^^^^^^^^^ ╵ stdin 2:9 root stylesheet Deprecation Warning [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0. More info: https://sass-lang.com/d/legacy-js-api Deprecation Warning [import]: Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0. More info and automated migrator: https://sass-lang.com/d/import ╷ 2 │ @import '../../../sdk/variables'; │ ^^^^^^^^^^^^^^^^^^^^^^^^ ╵ stdin 2:9 root stylesheet Deprecation Warning [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0. More info: https://sass-lang.com/d/legacy-js-api 63% building 488/546 modules 58 active ...oader\lib\index.js??vue-loader-options!C:\fcube-app\W11.F-CUBE-A-APP\CL_CSM\src\main\webapp\src\components\sdk\Atoms\RaButton.vue?vue&type=script&lang=jsDeprecation Warning [slash-div]: Using / for division outside of calc() is deprecated and will be removed in Dart Sass 2.0.0. Recommendation: math.div($--step-height, 2) or calc($--step-height / 2) More info and automated migrator: https://sass-lang.com/d/slash-div ╷ 5 │ $--step-half-height: $--step-height / 2; │ ^^^^^^^^^^^^^^^^^^ ╵ stdin 5:22 root stylesheet 62% building 507/582 modules 75 active C:\fcube-app\W11.F-CUBE-A-APP\CL_CSM\src\main\webapp\node_modules\vee-validate\dist\vee-validate.esm.jsDeprecation Warning [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0. More info: https://sass-lang.com/d/legacy-js-api 62% building 513/585 modules 72 active C:\fcube-app\W11.F-CUBE-A-APP\CL_CSM\src\main\webapp\node_modules\xe-utils\methods\index.jsDeprecation Warning [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0. More info: https://sass-lang.com/d/legacy-js-api Deprecation Warning [import]: Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0. More info and automated migrator: https://sass-lang.com/d/import ╷ 2 │ @import '../../../sdk/variables'; │ ^^^^^^^^^^^^^^^^^^^^^^^^ ╵ stdin 2:9 root stylesheet 62% building 520/591 modules 71 active ...b\index.js??vue-loader-options!C:\fcube-app\W11.F-CUBE-A-APP\CL_CSM\src\main\webapp\src\components\sdk\Molecules\RmInputRange.vue?vue&type=script&lang=jsDeprecation Warning [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0. More info: https://sass-lang.com/d/legacy-js-api Deprecation Warning [import]: Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0. More info and automated migrator: https://sass-lang.com/d/import ╷ 2 │ @import '../../../sdk/variables'; │ ^^^^^^^^^^^^^^^^^^^^^^^^ ╵ stdin 2:9 root stylesheet 62% building 523/597 modules 74 active ...r\lib\index.js??vue-loader-options!C:\fcube-app\W11.F-CUBE-A-APP\CL_CSM\src\main\webapp\src\components\sdk\Molecules\RmSelect.vue?vue&type=script&lang=jsDeprecation Warning [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0. More info: https://sass-lang.com/d/legacy-js-api 62% building 526/600 modules 74 active ...\fcube-app\W11.F-CUBE-A-APP\CL_CSM\src\main\webapp\src\components\sdk\Molecules\RmDatePicker.vue?vue&type=style&index=0&id=22de6f5e&lang=scss&scoped=trueDeprecation Warning [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0. More info: https://sass-lang.com/d/legacy-js-api Deprecation Warning [import]: Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0. More info and automated migrator: https://sass-lang.com/d/import ╷ 2 │ @import '../../../sdk/variables'; │ ^^^^^^^^^^^^^^^^^^^^^^^^ ╵ stdin 2:9 root stylesheet Deprecation Warning [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0. More info: https://sass-lang.com/d/legacy-js-api Deprecation Warning [import]: Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0. More info and automated migrator: https://sass-lang.com/d/import ╷ 2 │ @import '../../../sdk/variables'; │ ^^^^^^^^^^^^^^^^^^^^^^^^ ╵ stdin 2:9 root stylesheet Deprecation Warning [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0. More info: https://sass-lang.com/d/legacy-js-api Deprecation Warning [import]: Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0. More info and automated migrator: https://sass-lang.com/d/import ╷ 2 │ @import '../../../sdk/variables'; │ ^^^^^^^^^^^^^^^^^^^^^^^^ ╵ stdin 2:9 root stylesheet Deprecation Warning [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0. More info: https://sass-lang.com/d/legacy-js-api Deprecation Warning [import]: Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0. More info and automated migrator: https://sass-lang.com/d/import ╷ 2 │ @import '../../../sdk/variables'; │ ^^^^^^^^^^^^^^^^^^^^^^^^ ╵ stdin 2:9 root stylesheet 62% building 527/602 modules 75 active ...b\index.js??vue-loader-options!C:\fcube-app\W11.F-CUBE-A-APP\CL_CSM\src\main\webapp\src\components\sdk\Molecules\RmDatePicker.vue?vue&type=script&lang=jsDeprecation Warning [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0. More info: https://sass-lang.com/d/legacy-js-api Deprecation Warning [import]: Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0. More info and automated migrator: https://sass-lang.com/d/import ╷ 2 │ @import '../../../sdk/variables'; │ ^^^^^^^^^^^^^^^^^^^^^^^^ ╵ stdin 2:9 root stylesheet 63% building 560/625 modules 65 active ...\fcube-app\W11.F-CUBE-A-APP\CL_CSM\src\main\webapp\src\components\sdk\Molecules\RmTimeSelect.vue?vue&type=style&index=0&id=70f9fd2b&lang=scss&scoped=trueDeprecation Warning [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0. More info: https://sass-lang.com/d/legacy-js-api Deprecation Warning [import]: Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0. More info and automated migrator: https://sass-lang.com/d/import ╷ 2 │ @import '../../../sdk/variables'; │ ^^^^^^^^^^^^^^^^^^^^^^^^ ╵ stdin 2:9 root stylesheet 63% building 563/626 modules 63 active C:\fcube-app\W11.F-CUBE-A-APP\CL_CSM\src\main\webapp\node_modules\element-ui\lib\utils\popup\index.jsDeprecation Warning [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0. More info: https://sass-lang.com/d/legacy-js-api Deprecation Warning [import]: Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0. More info and automated migrator: https://sass-lang.com/d/import ╷ 2 │ @import '../../../sdk/variables'; │ ^^^^^^^^^^^^^^^^^^^^^^^^ ╵ stdin 2:9 root stylesheet 63% building 571/636 modules 65 active ...tions!C:\fcube-app\W11.F-CUBE-A-APP\CL_CSM\src\main\webapp\src\components\contextmenu\Submenu.vue?vue&type=style&index=0&id=07b5451e&scoped=true&lang=cssDeprecation Warning [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0. More info: https://sass-lang.com/d/legacy-js-api Deprecation Warning [import]: Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0. More info and automated migrator: https://sass-lang.com/d/import ╷ 2 │ @import '../../../sdk/variables'; │ ^^^^^^^^^^^^^^^^^^^^^^^^ ╵ stdin 2:9 root stylesheet 65% building 587/636 modules 49 active ...tions!C:\fcube-app\W11.F-CUBE-A-APP\CL_CSM\src\main\webapp\src\components\contextmenu\Submenu.vue?vue&type=style&index=0&id=07b5451e&scoped=true&lang=cssDeprecation Warning [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0. More info: https://sass-lang.com/d/legacy-js-api Deprecation Warning [import]: Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0. More info and automated migrator: https://sass-lang.com/d/import ╷ 2 │ @import '../../../sdk/variables'; │ ^^^^^^^^^^^^^^^^^^^^^^^^ ╵ stdin 2:9 root stylesheet 65% building 595/642 modules 47 active C:\fcube-app\W11.F-CUBE-A-APP\CL_CSM\src\main\webapp\node_modules\element-ui\lib\mixins\focus.jsDeprecation Warning [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0. More info: https://sass-lang.com/d/legacy-js-api Deprecation Warning [import]: Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0. More info and automated migrator: https://sass-lang.com/d/import ╷ 2 │ @import '../../../sdk/variables'; │ ^^^^^^^^^^^^^^^^^^^^^^^^ ╵ stdin 2:9 root stylesheet Deprecation Warning [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0. More info: https://sass-lang.com/d/legacy-js-api Deprecation Warning [import]: Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0. More info and automated migrator: https://sass-lang.com/d/import ╷ 2 │ @import '../../../sdk/variables'; │ ^^^^^^^^^^^^^^^^^^^^^^^^ ╵ stdin 2:9 root stylesheet Deprecation Warning [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0. More info: https://sass-lang.com/d/legacy-js-api Deprecation Warning [import]: Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0. More info and automated migrator: https://sass-lang.com/d/import ╷ 2 │ @import '../../../sdk/variables'; │ ^^^^^^^^^^^^^^^^^^^^^^^^ ╵ stdin 2:9 root stylesheet 65% building 598/643 modules 45 active C:\fcube-app\W11.F-CUBE-A-APP\CL_CSM\src\main\webapp\node_modules\element-ui\lib\mixins\focus.jsDeprecation Warning [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0. More info: https://sass-lang.com/d/legacy-js-api Deprecation Warning [import]: Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0. More info and automated migrator: https://sass-lang.com/d/import ╷ 2 │ @import '../../../sdk/variables'; │ ^^^^^^^^^^^^^^^^^^^^^^^^ ╵ stdin 2:9 root stylesheet 67% building 960/1010 modules 50 active ...in\webapp\node_modules\url-loader\dist\cjs.js??ref--4-0!C:\fcube-app\W11.F-CUBE-A-APP\CL_CSM\src\main\webapp\src\assets\icomoon\fonts\icomoon.eot?20wc3hDeprecation Warning [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0. More info: https://sass-lang.com/d/legacy-js-api Deprecation Warning [import]: Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0. More info and automated migrator: https://sass-lang.com/d/import ╷ 3 │ @import "@/sdk/_variables.scss"; │ ^^^^^^^^^^^^^^^^^^^^^^^ ╵ stdin 3:9 root stylesheet 67% building 965/1011 modules 46 active C:\fcube-app\W11.F-CUBE-A-APP\CL_CSM\src\main\webapp\node_modules\@vxe-ui\core\es\src\event.jsDeprecation Warning [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0. More info: https://sass-lang.com/d/legacy-js-api 67% building 998/1040 modules 42 active C:\fcube-app\W11.F-CUBE-A-APP\CL_CSM\src\main\webapp\node_modules\xe-utils\methods\base\helperDeleteProperty.jsDeprecation Warning [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0. More info: https://sass-lang.com/d/legacy-js-api Deprecation Warning [import]: Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0. More info and automated migrator: https://sass-lang.com/d/import ╷ 17 │ @import "@/sdk/_variables.scss"; │ ^^^^^^^^^^^^^^^^^^^^^^^ ╵ stdin 17:9 root stylesheet 66% building 1132/1199 modules 67 active ...lib\index.js??vue-loader-options!C:\fcube-app\W11.F-CUBE-A-APP\CL_CSM\src\main\webapp\src\views\CSM\CSMRCB06D01\CSMRCB06D01.vue?vue&type=script&lang=jsDeprecation Warning [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0. More info: https://sass-lang.com/d/legacy-js-api 66% building 1134/1202 modules 68 active C:\fcube-app\W11.F-CUBE-A-APP\CL_CSM\src\main\webapp\node_modules\element-ui\lib\utils\vue-popper.jsDeprecation Warning [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0. More info: https://sass-lang.com/d/legacy-js-api 66% building 1156/1219 modules 63 active ...1.F-CUBE-A-APP\CL_CSM\src\main\webapp\src\views\CSM\CSMRCB06D01\CSMRCB06D01Style.scss?vue&type=style&index=0&id=0b2bc8ab&lang=scss&scoped=true&externalDeprecation Warning [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0. More info: https://sass-lang.com/d/legacy-js-api 67% building 1160/1219 modules 59 active ...1.F-CUBE-A-APP\CL_CSM\src\main\webapp\src\views\CSM\CSMRCB06D01\CSMRCB06D01Style.scss?vue&type=style&index=0&id=0b2bc8ab&lang=scss&scoped=true&externalDeprecation Warning [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0. More info: https://sass-lang.com/d/legacy-js-api 67% building 1172/1221 modules 49 active C:\fcube-app\W11.F-CUBE-A-APP\CL_CSM\src\main\webapp\node_modules\element-ui\lib\utils\resize-event.jsDeprecation Warning [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0. More info: https://sass-lang.com/d/legacy-js-api Deprecation Warning [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0. More info: https://sass-lang.com/d/legacy-js-api 67% building 1182/1225 modules 43 active C:\fcube-app\W11.F-CUBE-A-APP\CL_CSM\src\main\webapp\node_modules\throttle-debounce\debounce.jsDeprecation Warning [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0. More info: https://sass-lang.com/d/legacy-js-api 67% building 1183/1225 modules 42 active C:\fcube-app\W11.F-CUBE-A-APP\CL_CSM\src\main\webapp\node_modules\throttle-debounce\debounce.jsDeprecation Warning [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0. More info: https://sass-lang.com/d/legacy-js-api 67% building 1202/1265 modules 63 active ...c\main\webapp\node_modules\babel-loader\lib\index.js!C:\fcube-app\W11.F-CUBE-A-APP\CL_CSM\src\main\webapp\src\views\CSM\CSMRCB03D01\CSMRCB03D01Model.jsDeprecation Warning [import]: Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0. More info and automated migrator: https://sass-lang.com/d/import ╷ 1 │ @import "./base.scss"; │ ^^^^^^^^^^^^^ ╵ node_modules\element-ui\packages\theme-chalk\src\index.scss 1:9 @import stdin 24:9 root stylesheet Deprecation Warning [import]: Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0. More info and automated migrator: https://sass-lang.com/d/import ╷ 2 │ @import "./pagination.scss"; │ ^^^^^^^^^^^^^^^^^^^ ╵ node_modules\element-ui\packages\theme-chalk\src\index.scss 2:9 @import stdin 24:9 root stylesheet Deprecation Warning [import]: Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0. More info and automated migrator: https://sass-lang.com/d/import ╷ 3 │ @import "./dialog.scss"; │ ^^^^^^^^^^^^^^^ ╵ node_modules\element-ui\packages\theme-chalk\src\index.scss 3:9 @import stdin 24:9 root stylesheet Deprecation Warning [import]: Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0. More info and automated migrator: https://sass-lang.com/d/import ╷ 4 │ @import "./autocomplete.scss"; │ ^^^^^^^^^^^^^^^^^^^^^ ╵ node_modules\element-ui\packages\theme-chalk\src\index.scss 4:9 @import stdin 24:9 root stylesheet Deprecation Warning [global-builtin]: Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0. Use color.mix instead. More info and automated migrator: https://sass-lang.com/d/import ╷ 24 │ $--color-primary-light-1: mix($--color-white, $--color-primary, 10%) !default; /* 53a8ff */ │ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ╵ node_modules\element-ui\packages\theme-chalk\src\common\var.scss 24:27 @import node_modules\element-ui\packages\theme-chalk\src\common\transition.scss 1:9 @import node_modules\element-ui\packages\theme-chalk\src\base.scss 1:9 @import node_modules\element-ui\packages\theme-chalk\src\index.scss 1:9 @import stdin 24:9 root stylesheet Deprecation Warning [global-builtin]: Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0. Use color.mix instead. More info and automated migrator: https://sass-lang.com/d/import ╷ 25 │ $--color-primary-light-2: mix($--color-white, $--color-primary, 20%) !default; /* 66b1ff */ │ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ╵ node_modules\element-ui\packages\theme-chalk\src\common\var.scss 25:27 @import node_modules\element-ui\packages\theme-chalk\src\common\transition.scss 1:9 @import node_modules\element-ui\packages\theme-chalk\src\base.scss 1:9 @import node_modules\element-ui\packages\theme-chalk\src\index.scss 1:9 @import stdin 24:9 root stylesheet Deprecation Warning [global-builtin]: Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0. Use color.mix instead. More info and automated migrator: https://sass-lang.com/d/import ╷ 26 │ $--color-primary-light-3: mix($--color-white, $--color-primary, 30%) !default; /* 79bbff */ │ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ╵ node_modules\element-ui\packages\theme-chalk\src\common\var.scss 26:27 @import node_modules\element-ui\packages\theme-chalk\src\common\transition.scss 1:9 @import node_modules\element-ui\packages\theme-chalk\src\base.scss 1:9 @import node_modules\element-ui\packages\theme-chalk\src\index.scss 1:9 @import stdin 24:9 root stylesheet Deprecation Warning [global-builtin]: Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0. Use color.mix instead. More info and automated migrator: https://sass-lang.com/d/import ╷ 27 │ $--color-primary-light-4: mix($--color-white, $--color-primary, 40%) !default; /* 8cc5ff */ │ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ╵ node_modules\element-ui\packages\theme-chalk\src\common\var.scss 27:27 @import node_modules\element-ui\packages\theme-chalk\src\common\transition.scss 1:9 @import node_modules\element-ui\packages\theme-chalk\src\base.scss 1:9 @import node_modules\element-ui\packages\theme-chalk\src\index.scss 1:9 @import stdin 24:9 root stylesheet Deprecation Warning [global-builtin]: Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0. Use color.mix instead. More info and automated migrator: https://sass-lang.com/d/import ╷ 28 │ $--color-primary-light-5: mix($--color-white, $--color-primary, 50%) !default; /* a0cfff */ │ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ╵ node_modules\element-ui\packages\theme-chalk\src\common\var.scss 28:27 @import node_modules\element-ui\packages\theme-chalk\src\common\transition.scss 1:9 @import node_modules\element-ui\packages\theme-chalk\src\base.scss 1:9 @import node_modules\element-ui\packages\theme-chalk\src\index.scss 1:9 @import stdin 24:9 root stylesheet Deprecation Warning [slash-div]: Using / for division outside of calc() is deprecated and will be removed in Dart Sass 2.0.0. Recommendation: math.div(1, 5) or calc(1 / 5) More info and automated migrator: https://sass-lang.com/d/slash-div ╷ 487 │ $--group-option-flex: 0 0 (1/5) * 100% !default; │ ^^^ ╵ node_modules\element-ui\packages\theme-chalk\src\common\var.scss 487:28 @import node_modules\element-ui\packages\theme-chalk\src\common\transition.scss 1:9 @import node_modules\element-ui\packages\theme-chalk\src\base.scss 1:9 @import node_modules\element-ui\packages\theme-chalk\src\index.scss 1:9 @import stdin 24:9 root stylesheet Deprecation Warning [slash-div]: Using / for division outside of calc() is deprecated and will be removed in Dart Sass 2.0.0. Recommendation: math.div($--tooltip-arrow-size, 2) or calc($--tooltip-arrow-size / 2) More info and automated migrator: https://sass-lang.com/d/slash-div ╷ 32 │ margin-right: #{$--tooltip-arrow-size / 2}; │ ^^^^^^^^^^^^^^^^^^^^^^^^^ ╵ node_modules\element-ui\packages\theme-chalk\src\popper.scss 32:21 @content node_modules\element-ui\packages\theme-chalk\src\mixins\mixins.scss 74:5 b() node_modules\element-ui\packages\theme-chalk\src\popper.scss 4:1 @import node_modules\element-ui\packages\theme-chalk\src\select-dropdown.scss 3:9 @import node_modules\element-ui\packages\theme-chalk\src\select.scss 4:9 @import node_modules\element-ui\packages\theme-chalk\src\pagination.scss 4:9 @import node_modules\element-ui\packages\theme-chalk\src\index.scss 2:9 @import stdin 24:9 root stylesheet Deprecation Warning [slash-div]: Using / for division outside of calc() is deprecated and will be removed in Dart Sass 2.0.0. Recommendation: math.div($--tooltip-arrow-size, 2) or calc($--tooltip-arrow-size / 2) More info and automated migrator: https://sass-lang.com/d/slash-div ╷ 51 │ margin-right: #{$--tooltip-arrow-size / 2}; │ ^^^^^^^^^^^^^^^^^^^^^^^^^ ╵ node_modules\element-ui\packages\theme-chalk\src\popper.scss 51:21 @content node_modules\element-ui\packages\theme-chalk\src\mixins\mixins.scss 74:5 b() node_modules\element-ui\packages\theme-chalk\src\popper.scss 4:1 @import node_modules\element-ui\packages\theme-chalk\src\select-dropdown.scss 3:9 @import node_modules\element-ui\packages\theme-chalk\src\select.scss 4:9 @import node_modules\element-ui\packages\theme-chalk\src\pagination.scss 4:9 @import node_modules\element-ui\packages\theme-chalk\src\index.scss 2:9 @import stdin 24:9 root stylesheet Deprecation Warning [slash-div]: Using / for division outside of calc() is deprecated and will be removed in Dart Sass 2.0.0. Recommendation: math.div($--tooltip-arrow-size, 2) or calc($--tooltip-arrow-size / 2) More info and automated migrator: https://sass-lang.com/d/slash-div ╷ 70 │ margin-bottom: #{$--tooltip-arrow-size / 2}; │ ^^^^^^^^^^^^^^^^^^^^^^^^^ ╵ node_modules\element-ui\packages\theme-chalk\src\popper.scss 70:22 @content node_modules\element-ui\packages\theme-chalk\src\mixins\mixins.scss 74:5 b() node_modules\element-ui\packages\theme-chalk\src\popper.scss 4:1 @import node_modules\element-ui\packages\theme-chalk\src\select-dropdown.scss 3:9 @import node_modules\element-ui\packages\theme-chalk\src\select.scss 4:9 @import node_modules\element-ui\packages\theme-chalk\src\pagination.scss 4:9 @import node_modules\element-ui\packages\theme-chalk\src\index.scss 2:9 @import stdin 24:9 root stylesheet Deprecation Warning [slash-div]: Using / for division outside of calc() is deprecated and will be removed in Dart Sass 2.0.0. Recommendation: math.div($--tooltip-arrow-size, 2) or calc($--tooltip-arrow-size / 2) More info and automated migrator: https://sass-lang.com/d/slash-div ╷ 89 │ margin-bottom: #{$--tooltip-arrow-size / 2}; │ ^^^^^^^^^^^^^^^^^^^^^^^^^ ╵ node_modules\element-ui\packages\theme-chalk\src\popper.scss 89:22 @content node_modules\element-ui\packages\theme-chalk\src\mixins\mixins.scss 74:5 b() node_modules\element-ui\packages\theme-chalk\src\popper.scss 4:1 @import node_modules\element-ui\packages\theme-chalk\src\select-dropdown.scss 3:9 @import node_modules\element-ui\packages\theme-chalk\src\select.scss 4:9 @import node_modules\element-ui\packages\theme-chalk\src\pagination.scss 4:9 @import node_modules\element-ui\packages\theme-chalk\src\index.scss 2:9 @import stdin 24:9 root stylesheet Deprecation Warning [function-units]: $weight: Passing a number without unit % (0) is deprecated. To preserve current behavior: $weight * 1% More info: https://sass-lang.com/d/function-units ╷ 7 │ color: mix($--tag-primary-color, $--color-white, $fontColorWeight); │ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ╵ node_modules\element-ui\packages\theme-chalk\src\tag.scss 7:10 genTheme() node_modules\element-ui\packages\theme-chalk\src\tag.scss 127:5 @content node_modules\element-ui\packages\theme-chalk\src\mixins\mixins.scss 112:7 m() node_modules\element-ui\packages\theme-chalk\src\tag.scss 126:3 @content node_modules\element-ui\packages\theme-chalk\src\mixins\mixins.scss 74:5 b() node_modules\element-ui\packages\theme-chalk\src\tag.scss 94:1 @import node_modules\element-ui\packages\theme-chalk\src\select.scss 6:9 @import node_modules\element-ui\packages\theme-chalk\src\pagination.scss 4:9 @import node_modules\element-ui\packages\theme-chalk\src\index.scss 2:9 @import stdin 24:9 root stylesheet Deprecation Warning [function-units]: $weight: Passing a number without unit % (0) is deprecated. To preserve current behavior: $weight * 1% More info: https://sass-lang.com/d/function-units ╷ 14 │ color: mix($--tag-primary-color, $--color-white, $fontColorWeight); │ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ╵ node_modules\element-ui\packages\theme-chalk\src\tag.scss 14:12 genTheme() node_modules\element-ui\packages\theme-chalk\src\tag.scss 127:5 @content node_modules\element-ui\packages\theme-chalk\src\mixins\mixins.scss 112:7 m() node_modules\element-ui\packages\theme-chalk\src\tag.scss 126:3 @content node_modules\element-ui\packages\theme-chalk\src\mixins\mixins.scss 74:5 b() node_modules\element-ui\packages\theme-chalk\src\tag.scss 94:1 @import node_modules\element-ui\packages\theme-chalk\src\select.scss 6:9 @import node_modules\element-ui\packages\theme-chalk\src\pagination.scss 4:9 @import node_modules\element-ui\packages\theme-chalk\src\index.scss 2:9 @import stdin 24:9 root stylesheet Deprecation Warning [function-units]: $weight: Passing a number without unit % (0) is deprecated. To preserve current behavior: $weight * 1% More info: https://sass-lang.com/d/function-units ╷ 24 │ color: mix($--tag-info-color, $--color-white, $fontColorWeight); │ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ╵ node_modules\element-ui\packages\theme-chalk\src\tag.scss 24:12 genTheme() node_modules\element-ui\packages\theme-chalk\src\tag.scss 127:5 @content node_modules\element-ui\packages\theme-chalk\src\mixins\mixins.scss 112:7 m() node_modules\element-ui\packages\theme-chalk\src\tag.scss 126:3 @content node_modules\element-ui\packages\theme-chalk\src\mixins\mixins.scss 74:5 b() node_modules\element-ui\packages\theme-chalk\src\tag.scss 94:1 @import node_modules\element-ui\packages\theme-chalk\src\select.scss 6:9 @import node_modules\element-ui\packages\theme-chalk\src\pagination.scss 4:9 @import node_modules\element-ui\packages\theme-chalk\src\index.scss 2:9 @import stdin 24:9 root stylesheet Deprecation Warning [function-units]: $weight: Passing a number without unit % (0) is deprecated. To preserve current behavior: $weight * 1% More info: https://sass-lang.com/d/function-units ╷ 31 │ color: mix($--tag-info-color, $--color-white, $fontColorWeight); │ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ╵ node_modules\element-ui\packages\theme-chalk\src\tag.scss 31:14 genTheme() node_modules\element-ui\packages\theme-chalk\src\tag.scss 127:5 @content node_modules\element-ui\packages\theme-chalk\src\mixins\mixins.scss 112:7 m() node_modules\element-ui\packages\theme-chalk\src\tag.scss 126:3 @content node_modules\element-ui\packages\theme-chalk\src\mixins\mixins.scss 74:5 b() node_modules\element-ui\packages\theme-chalk\src\tag.scss 94:1 @import node_modules\element-ui\packages\theme-chalk\src\select.scss 6:9 @import node_modules\element-ui\packages\theme-chalk\src\pagination.scss 4:9 @import node_modules\element-ui\packages\theme-chalk\src\index.scss 2:9 @import stdin 24:9 root stylesheet Deprecation Warning [function-units]: $weight: Passing a number without unit % (0) is deprecated. To preserve current behavior: $weight * 1% More info: https://sass-lang.com/d/function-units ╷ 42 │ color: mix($--tag-success-color, $--color-white, $fontColorWeight); │ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ╵ node_modules\element-ui\packages\theme-chalk\src\tag.scss 42:12 genTheme() node_modules\element-ui\packages\theme-chalk\src\tag.scss 127:5 @content node_modules\element-ui\packages\theme-chalk\src\mixins\mixins.scss 112:7 m() node_modules\element-ui\packages\theme-chalk\src\tag.scss 126:3 @content node_modules\element-ui\packages\theme-chalk\src\mixins\mixins.scss 74:5 b() node_modules\element-ui\packages\theme-chalk\src\tag.scss 94:1 @import node_modules\element-ui\packages\theme-chalk\src\select.scss 6:9 @import node_modules\element-ui\packages\theme-chalk\src\pagination.scss 4:9 @import node_modules\element-ui\packages\theme-chalk\src\index.scss 2:9 @import stdin 24:9 root stylesheet Warning: 458 repetitive deprecation warnings omitted. 67% building 1332/1383 modules 51 active C:\fcube-app\W11.F-CUBE-A-APP\CL_CSM\src\main\webapp\node_modules\@vxe-ui\core\node_modules\xe-utils\objectEach.jsDeprecation Warning [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0. More info: https://sass-lang.com/d/legacy-js-api 67% building 1353/1403 modules 50 active ...ue-loader\lib\index.js??vue-loader-options!C:\fcube-app\W11.F-CUBE-A-APP\CL_CSM\src\main\webapp\src\views\CSM\CSMRCB05D01\mixin\mailItiranInfoState.vueDeprecation Warning [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0. More info: https://sass-lang.com/d/legacy-js-api Deprecation Warning [import]: Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0. More info and automated migrator: https://sass-lang.com/d/import ╷ 17 │ @import '../../../sdk/variables'; │ ^^^^^^^^^^^^^^^^^^^^^^^^ ╵ stdin 17:9 root stylesheet 67% building 1355/1403 modules 48 active ...ue-loader\lib\index.js??vue-loader-options!C:\fcube-app\W11.F-CUBE-A-APP\CL_CSM\src\main\webapp\src\views\CSM\CSMRCB05D01\mixin\mailItiranInfoState.vueDeprecation Warning [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0. More info: https://sass-lang.com/d/legacy-js-api 68% building 1370/1412 modules 42 active C:\fcube-app\W11.F-CUBE-A-APP\CL_CSM\src\main\webapp\node_modules\@vxe-ui\core\node_modules\xe-utils\getYearDay.jsDeprecation Warning [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0. More info: https://sass-lang.com/d/legacy-js-api 67% building 1445/1501 modules 56 active C:\fcube-app\W11.F-CUBE-A-APP\CL_CSM\src\main\webapp\node_modules\@vxe-ui\core\node_modules\xe-utils\isSet.jsDeprecation Warning [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0. More info: https://sass-lang.com/d/legacy-js-api 67% building 1451/1505 modules 54 active C:\fcube-app\W11.F-CUBE-A-APP\CL_CSM\src\main\webapp\node_modules\@vxe-ui\core\node_modules\xe-utils\isWindow.jsDeprecation Warning [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0. More info: https://sass-lang.com/d/legacy-js-api 68% building 1472/1509 modules 37 active C:\fcube-app\W11.F-CUBE-A-APP\CL_CSM\src\main\webapp\node_modules\async-validator\es\util.jsDeprecation Warning [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0. More info: https://sass-lang.com/d/legacy-js-api 67% building 1573/1632 modules 59 active C:\fcube-app\W11.F-CUBE-A-APP\CL_CSM\src\main\webapp\node_modules\@vxe-ui\core\node_modules\xe-utils\lastObjectEach.jsDeprecation Warning [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0. More info: https://sass-lang.com/d/legacy-js-api 68% building 1581/1632 modules 51 active C:\fcube-app\W11.F-CUBE-A-APP\CL_CSM\src\main\webapp\node_modules\@vxe-ui\core\node_modules\xe-utils\lastObjectEach.jsDeprecation Warning [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0. More info: https://sass-lang.com/d/legacy-js-api 68% building 1582/1632 modules 50 active C:\fcube-app\W11.F-CUBE-A-APP\CL_CSM\src\main\webapp\node_modules\@vxe-ui\core\node_modules\xe-utils\lastObjectEach.jsDeprecation Warning [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0. More info: https://sass-lang.com/d/legacy-js-api 68% building 1611/1657 modules 46 active C:\fcube-app\W11.F-CUBE-A-APP\CL_CSM\src\main\webapp\node_modules\async-validator\es\validator\enum.jsDeprecation Warning [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0. More info: https://sass-lang.com/d/legacy-js-api 67% building 1623/1681 modules 58 active C:\fcube-app\W11.F-CUBE-A-APP\CL_CSM\src\main\webapp\node_modules\element-ui\lib\autocomplete.jsDeprecation Warning [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0. More info: https://sass-lang.com/d/legacy-js-api Deprecation Warning [import]: Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0. More info and automated migrator: https://sass-lang.com/d/import ╷ 1 │ @import './variables'; │ ^^^^^^^^^^^^^ ╵ stdin 1:9 root stylesheet Deprecation Warning [import]: Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0. More info and automated migrator: https://sass-lang.com/d/import ╷ 5 │ @import 'vxe-table/styles/variable.scss'; │ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ╵ stdin 5:9 root stylesheet Deprecation Warning [import]: Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0. More info and automated migrator: https://sass-lang.com/d/import ╷ 11 │ @import 'vxe-table/styles/icon.scss'; │ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ╵ stdin 11:9 root stylesheet Deprecation Warning [import]: Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0. More info and automated migrator: https://sass-lang.com/d/import ╷ 12 │ @import 'vxe-table/styles/table.scss'; │ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ╵ stdin 12:9 root stylesheet Deprecation Warning [import]: Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0. More info and automated migrator: https://sass-lang.com/d/import ╷ 13 │ @import 'vxe-table/styles/column.scss'; │ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ╵ stdin 13:9 root stylesheet 68% building 1664/1696 modules 32 active ...PP\CL_CSM\src\main\webapp\node_modules\url-loader\dist\cjs.js??ref--1-0!C:\fcube-app\W11.F-CUBE-A-APP\CL_CSM\src\main\webapp\src\assets\images\かんむり.68% building 1690/1729 modules 39 active ...-app\W11.F-CUBE-A-APP\CL_CSM\src\main\webapp\src\components\csm\CSMPOP03D01\CSMPOP03D01Template.html?vue&type=template&id=13e0a95b&scoped=true&externalDeprecation Warning [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0. More info: https://sass-lang.com/d/legacy-js-api Deprecation Warning [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0. More info: https://sass-lang.com/d/legacy-js-api 68% building 1692/1729 modules 37 active ...-app\W11.F-CUBE-A-APP\CL_CSM\src\main\webapp\src\components\csm\CSMPOP03D01\CSMPOP03D01Template.html?vue&type=template&id=13e0a95b&scoped=true&externalDeprecation Warning [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0. More info: https://sass-lang.com/d/legacy-js-api Deprecation Warning [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0. More info: https://sass-lang.com/d/legacy-js-api 68% building 1694/1729 modules 35 active ...-app\W11.F-CUBE-A-APP\CL_CSM\src\main\webapp\src\components\csm\CSMPOP03D01\CSMPOP03D01Template.html?vue&type=template&id=13e0a95b&scoped=true&externalDeprecation Warning [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0. More info: https://sass-lang.com/d/legacy-js-api 98% after emitting CopyPlugin ERROR Failed to compile with 4 errors 14:43:32 error in ./src/components/sdk/Organisms/RoPopupFooter.vue?vue&type=style&index=0&id=efe44272&lang=scss&scoped=true Syntax Error: <span class="esc footer-key" v-if="escCaption">ESC</span> ^ Expected selector. ╷ 7 │ footer#footer /deep/ { │ ^ ╵ stdin 7:15 root stylesheet in C:\fcube-app\W11.F-CUBE-A-APP\CL_CSM\src\main\webapp\src\components\sdk\Organisms\RoPopupFooter.vue (line 7, column 15) @ ./node_modules/vue-style-loader??ref--8-oneOf-1-0!./node_modules/css-loader??ref--8-oneOf-1-1!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src??ref--8-oneOf-1-2!./node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/sdk/Organisms/RoPopupFooter.vue?vue&type=style&index=0&id=efe44272&lang=scss&scoped=true 4:14-500 15:3-20:5 16:22-508 @ ./src/components/sdk/Organisms/RoPopupFooter.vue?vue&type=style&index=0&id=efe44272&lang=scss&scoped=true @ ./src/components/sdk/Organisms/RoPopupFooter.vue @ ./src/sdk/rComponent.js @ ./src/main.js @ multi (webpack)-dev-server/client?http://localhost:8888/sockjs-node (webpack)/hot/dev-server.js ./src/main.js error in ./src/components/sdk/Organisms/NotFound.vue?vue&type=style&index=0&id=768c8622&lang=scss&scoped=true Syntax Error: // this.$refs.tranMenu.$el.focus(); ^ Expected selector. ╷ 52 │ margin: 0 0 0 auto; │ ^ ╵ stdin 52:22 root stylesheet in C:\fcube-app\W11.F-CUBE-A-APP\CL_CSM\src\main\webapp\src\components\sdk\Organisms\NotFound.vue (line 52, column 22) @ ./node_modules/vue-style-loader??ref--8-oneOf-1-0!./node_modules/css-loader??ref--8-oneOf-1-1!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src??ref--8-oneOf-1-2!./node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/sdk/Organisms/NotFound.vue?vue&type=style&index=0&id=768c8622&lang=scss&scoped=true 4:14-495 15:3-20:5 16:22-503 @ ./src/components/sdk/Organisms/NotFound.vue?vue&type=style&index=0&id=768c8622&lang=scss&scoped=true @ ./src/components/sdk/Organisms/NotFound.vue @ ./src/router.js @ ./src/main.js @ multi (webpack)-dev-server/client?http://localhost:8888/sockjs-node (webpack)/hot/dev-server.js ./src/main.js error in ./src/views/CSM/CSMSTM01D01/CSMSTM01D01Style.scss?vue&type=style&index=0&id=ce9c4c02&lang=scss&scoped=true&external Syntax Error: justify-content: flex-end; ^ Expected selector. ╷ 66 │ justify-content: flex-end; │ ^ ╵ stdin 66:29 root stylesheet in C:\fcube-app\W11.F-CUBE-A-APP\CL_CSM\src\main\webapp\src\views\CSM\CSMSTM01D01\CSMSTM01D01Style.scss (line 66, column 29) @ ./node_modules/vue-style-loader??ref--8-oneOf-1-0!./node_modules/css-loader??ref--8-oneOf-1-1!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src??ref--8-oneOf-1-2!./node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!./src/views/CSM/CSMSTM01D01/CSMSTM01D01Style.scss?vue&type=style&index=0&id=ce9c4c02&lang=scss&scoped=true&external 4:14-384 15:3-20:5 16:22-392 @ ./src/views/CSM/CSMSTM01D01/CSMSTM01D01Style.scss?vue&type=style&index=0&id=ce9c4c02&lang=scss&scoped=true&external @ ./src/views/CSM/CSMSTM01D01/CSMSTM01D01.vue @ ./src/router.js @ ./src/main.js @ multi (webpack)-dev-server/client?http://localhost:8888/sockjs-node (webpack)/hot/dev-server.js ./src/main.js error in ./src/sdk/vxe-custom.scss Syntax Error: @import 'vxe-table/styles/icon.scss'; ^ Can't find stylesheet to import. ╷ 11 │ @import 'vxe-table/styles/icon.scss'; │ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ╵ stdin 11:9 root stylesheet in C:\fcube-app\W11.F-CUBE-A-APP\CL_CSM\src\main\webapp\src\sdk\vxe-custom.scss (line 11, column 9) @ ./src/sdk/vxe-custom.scss 4:14-227 15:3-20:5 16:22-235 @ ./src/sdk/rVxeTable.js @ ./src/main.js @ multi (webpack)-dev-server/client?http://localhost:8888/sockjs-node (webpack)/hot/dev-server.js ./src/main.js(中文)
08-23
<think>根据提供的错误日志,我们可以看到在编译过程中出现了几个错误,主要是Sass语法错误和导入路径问题。我将逐一分析并给出解决方案。 ### 错误1: `RoPopupFooter.vue` 中的样式错误 错误信息: ``` Syntax Error: <span class="esc footer-key" v-if="escCaption">ESC</span> ^ Expected selector. ╷ 7 │ footer#footer /deep/ { │ ^ ╵ ``` 原因分析:在Sass中使用了Vue不推荐且已弃用的 `/deep/` 选择器。在Vue中,我们通常使用 `::v-deep` 替代 `/deep/` 或 `>>>` 来穿透作用域样式。 解决方案:将 `/deep/` 替换为 `::v-deep`。 修改前: ```scss footer#footer /deep/ { // 样式规则 } ``` 修改后: ```scss footer#footer ::v-deep { // 样式规则 } ``` ### 错误2: `NotFound.vue` 中的样式错误 错误信息: ``` Syntax Error: // this.$refs.tranMenu.$el.focus(); ^ Expected selector. ╷ 52 │ margin: 0 0 0 auto; │ ^ ╵ ``` 原因分析:错误信息指向了样式文件中的一行,但错误位置似乎不太准确。可能是在注释中使用了错误的语法,或者样式规则后面有额外的字符。另外,错误信息中提到了一个注释行,但错误定位在样式规则上。需要检查该文件样式部分,特别是第52行附近。 解决方案:检查`NotFound.vue`文件中的样式部分,确保没有在样式规则中混入JavaScript注释(如`//`),因为Sass不支持单行注释在规则中间。在Sass中,单行注释`//`只能用于行首,不能用于规则中间。如果需要在规则中使用注释,应该使用`/* */`。 例如,将: ```scss margin: 0 0 0 auto; // 这是一个注释 ``` 改为: ```scss margin: 0 0 0 auto; /* 这是一个注释 */ ``` ### 错误3: `CSMSTM01D01Style.scss` 中的样式错误 错误信息: ``` Syntax Error: justify-content: flex-end; ^ Expected selector. ╷ 66 │ justify-content: flex-end; │ ^ ╵ ``` 原因分析:错误指向了第66行,但该行看起来是一个合法的CSS规则。可能是在该规则之前或之后存在语法错误,导致解析失败。需要检查该文件第66行附近是否有不完整的规则或错误的嵌套。 解决方案:检查`CSMSTM01D01Style.scss`文件,特别是第66行附近,确保没有未闭合的花括号,或者在不允许写属性的地方写了属性(例如在顶层规则外)。 ### 错误4: `vxe-custom.scss` 中的导入错误 错误信息: ``` Syntax Error: @import 'vxe-table/styles/icon.scss'; ^ Can't find stylesheet to import. ╷ 11 │ @import 'vxe-table/styles/icon.scss'; │ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ╵ ``` 原因分析:无法找到 `vxe-table/styles/icon.scss` 文件。可能是因为路径不正确,或者 `vxe-table` 包中没有提供这个scss文件。需要确认 `vxe-table` 的安装和版本,以及该路径是否存在。 解决方案: 1. 确认 `vxe-table` 是否已安装,并且版本是否正确。 2. 检查 `node_modules/vxe-table` 目录下是否存在 `styles` 文件夹,以及其中是否有 `icon.scss` 文件。 3. 如果路径不正确,尝试使用正确的路径。例如,如果 `vxe-table` 的样式文件在 `lib` 目录下,则路径可能为 `vxe-table/lib/styles/icon.scss`。 如果确认路径正确但依然报错,可能是由于Sass解析路径的问题,可以尝试在路径前加上 `~` 符号,表示从 `node_modules` 中查找: ```scss @import '~vxe-table/styles/icon.scss'; ``` ### 其他警告 除了错误之外,还有大量的Deprecation Warning,主要是关于: 1. 使用Sass的旧版JavaScript API(将在Dart Sass 2.0.0中移除) 2. 使用 `@import` 规则(将在Dart Sass 3.0.0中移除,建议使用 `@use` 替代) 3. 使用 `/` 进行除法运算(需要使用 `math.div()` 或 `calc()`) 4. 使用不带单位的数字(需要添加单位,如 `%`) 这些警告不会导致编译失败,但为了代码的长期维护,建议逐步修复。例如: - 将除法运算改为 `math.div($a, $b)` 或 `calc($a / $b)`。 - 将 `@import` 替换为 `@use` 或 `@forward`。 - 对于颜色混合函数,使用 `color.mix` 替代全局的 `mix` 函数。 ### 总结解决方案: 1. 修改 `RoPopupFooter.vue` 中的 `/deep/` 为 `::v-deep`。 2. 检查 `NotFound.vue` 中的样式注释,确保使用 `/* */` 而不是 `//`(特别是在规则中间)。 3. 检查 `CSMSTM01D01Style.scss` 文件第66行附近的语法,确保没有错误。 4. 修正 `vxe-custom.scss` 中的导入路径,尝试添加 `~` 符号。 ### 修改后的代码示例 #### RoPopupFooter.vue ```vue <!-- 省略其他部分 --> <style scoped lang="scss"> footer#footer ::v-deep { /* 原来的样式规则 */ } </style> ``` #### NotFound.vue ```vue <!-- 省略其他部分 --> <style scoped lang="scss"> /* 将行内注释改为块注释 */ .some-class { margin: 0 0 0 auto; /* 这是一个注释 */ } </style> ``` #### vxe-custom.scss ```scss // 尝试使用带~的路径 @import '~vxe-table/styles/icon.scss'; ``` 如果以上修改后问题仍然存在,请根据具体项目结构调整路径或更新相关依赖。 ### 相关问题 §§相关问题§§: 1. 在Vue项目中,如何正确使用深度选择器(deep selector)来修改子组件的样式? 2. 在Sass/SCSS中,如何正确使用除法运算以避免弃用警告? 3. 如何在Vue项目中处理Sass/SCSS文件中的路径别名(例如使用`~`符号)? 4. 如何逐步将Sass的`@import`替换为`@use`以符合新的模块系统?</think>根据您提供的错误日志,Vue项目编译失败的主要原因是Sass语法错误和路径问题。以下是详细分析和解决方案: ### 错误1:RoPopupFooter.vue中的深度选择器语法错误 ```scss // 错误代码 footer#footer /deep/ { // ... } ``` **原因**: Vue CLI 4+ 已弃用`/deep/`选择器,需要使用`::v-deep`替代 **解决方案**: ```vue <style scoped lang="scss"> footer#footer ::v-deep { // 修改后的样式规则 } </style> ``` ### 错误2:NotFound.vue中的注释语法错误 ```scss // 错误代码 margin: 0 0 0 auto; // 错误的位置注释 ``` **原因**: Sass中`//`单行注释不能写在属性值后面 **解决方案**: ```scss margin: 0 0 0 auto; /* 正确的块注释 */ ``` ### 错误3:CSMSTM01D01Style.scss中的选择器错误 ```scss // 错误位置 justify-content: flex-end; ``` **原因**: 可能是在选择器外部直接写了属性,或缺少选择器定义 **解决方案**: ```scss .selector-class { justify-content: flex-end; /* 确保属性在规则块内 */ } ``` ### 错误4:vxe-custom.scss中的路径错误 ```scss @import 'vxe-table/styles/icon.scss'; // 找不到文件 ``` **原因**: 路径解析错误,缺少`~`别名前缀 **解决方案**: ```scss @import '~vxe-table/styles/icon.scss'; // 添加~前缀 ``` ### 警告处理建议(非致命但需修复) 1. **弃用警告处理**: ```scss // 旧语法 $height: 100px / 2; // 新语法 $height: math.div(100px, 2); // 或 calc(100px / 2) ``` 2. **颜色函数更新**: ```scss // 旧语法 color: mix($color1, $color2, 50%); // 新语法 color: color.mix($color1, $color2, 50%); ``` 3. **导入路径更新**: ```scss // 旧语法 @import 'variables'; // 推荐使用 @use 'variables' as *; ``` ### 完整修复步骤 1. 更新所有`/deep/`选择器为`::v-deep` 2. 替换所有行尾`//`注释为`/* */`块注释 3. 确保所有样式属性都在选择器规则块内 4. 在SCSS导入路径前添加`~`符号 5. 安装SASS模块支持: ```bash npm install sass mathjs ``` 6. 在vue.config.js中添加全局SASS配置: ```js module.exports = { css: { loaderOptions: { sass: { additionalData: ` @use "sass:math"; @use "sass:color"; ` } } } } ``` ### 相关问题
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值